1811 Commits (35b3d67e5f0c12ae8d3174a268b0af73724ecc3e)

Author SHA1 Message Date
Andri Yngvason cae533cad2 screencopy: Use correct constant for y-inversion
5 years ago
Andri Yngvason ea83957ecc screencopy: Implement copying into linux-dmabuf
5 years ago
Tudor Brindus c9c31f803e util/time: de-duplicate `timespec_to_msec`
5 years ago
Thomas Hebb dcae6f1431 Allow keyboard and pointer grabs to hook clear_focus()
5 years ago
Andri Yngvason 034384f5aa export-dmabuf: Keep frame->output = NULL until frame is ready
5 years ago
Brian Ashworth 32148808ad wlr_keyboard_group: introduce enter and leave
5 years ago
Kalyan Sriram 8ab4d91380 Don't send redundant capability updates
5 years ago
Simon Ser 1a23c1425f Add comments for missing tablet tool entries
5 years ago
Kenny Levinsen 5e0ef70cc0 seat: Create inert objects for missing capabilities
5 years ago
Simon Ser 781ed1ff02 Fix -Wreturn-type warnings
5 years ago
Isaac Freund 666498db01 Make wlr_xcursor_manager_load() return a bool
5 years ago
Simon Ser 347bdb6d9a output: make wlr_output_set_gamma atomic
5 years ago
Tudor Brindus 7693fdb8a7 tablet: expose wlr_tablet_tool_v2_has_implicit_grab function
5 years ago
Tudor Brindus 74c0d03f00 tablet: pass motion events to implicitly grabbed surface
5 years ago
Tudor Brindus 8b18d389b3 input/pointer: notify compositor when constraint region changes
5 years ago
Tudor Brindus 064f64dbf7 input/keyboard: expose keymap matching helper
5 years ago
David96 e3343cf7d1 Add wlr_surface_accepts_touch
5 years ago
Isaac Freund 11e94c406b layer shell: only send unmap on close if mapped
5 years ago
Simon Ser 22d345d982
Remove .swp file added by mistake
5 years ago
Tudor Brindus d698334620 input/tablet: clear focused surface on surface destroy
5 years ago
Tudor Brindus ad28f57533 input/tablet: fix up updated axes after rotation
5 years ago
Andri Yngvason e51d507799 export-dmabuf: Schedule output frame on request
5 years ago
r-c-f f679895c77
seat: add check for NULL keyboard
5 years ago
Simon Ser 0281b58d2f output: fix maybe-uninitialized warning
5 years ago
Simon Ser 50ade3671f output: check for buffer size compatibility in common code
5 years ago
Simon Ser 5f092c55d1 output: fix blurred hw cursors with fractional scaling
5 years ago
Simon Ser 507d9bc19e Add wlr_output_impl.rollback
5 years ago
Simon Ser 6977f3a843 output: check buffer in wlr_output_test
5 years ago
Simon Ser e041158988 output: introduce wlr_output_test
5 years ago
Simon Ser 1fa9e0203b buffer: add width and height
5 years ago
Simon Ser 6595db6409 buffer: add a release event
5 years ago
Simon Ser 1674ca725c buffer: add destroy event
5 years ago
Simon Ser 7516a98167 Gracefully handle inert wl_output resources
5 years ago
Isaac Freund 8707a9b7ec Return false on wlr_keyboard_set_keymap() failure
5 years ago
Scott Anderson 34303e1b47 wlr_surface: Post error if multiple role objects created
5 years ago
Isaac Freund 1282c3b12f Send pointer enter/leave on capability change
5 years ago
Isaac Freund 7c309ba4d3 Properly popluate keys array for enter on creation
5 years ago
Isaac Freund 3f617631cb Send keyboard enter/leave on capability change
5 years ago
Simon Ser e0bbafc253 output: replace wlr_output.damage with a damage event
5 years ago
Simon Ser 07737e85cc output: add comment about needs_frame in wlr_output_schedule_frame
5 years ago
Simon Ser 41f9916ae5 buffer: remove unused wlr_client_buffer fields
5 years ago
Simon Ser 7bce056f1d output: don't send a needs_frame event if already sent
5 years ago
Simon Ser a4c7c6db09 output: make wlr_output_schedule_frame set output->needs_frame
5 years ago
Simon Ser 7017fa95b8 output: add adaptive_sync_enabled property
5 years ago
Simon Ser 8afc1ed68c Introduce wlr_client_buffer
5 years ago
Simon Ser 348f52b5fc output: remove wlr_output_impl.schedule_frame
5 years ago
Guido Günther c9859f187f wlr_output_power_management_v1: Init output_power->link
5 years ago
Aleksei Bavshin c99d156f0d xdg-shell: fix popups rendered outside of the screen
5 years ago
Michael Weiser 3ff6a5def3 idle-inhibit: Style and naming improvements
5 years ago
Michael Weiser 471b873de3 keyboard-shortcuts-inhibit: Implement the protocol
5 years ago
Guido Günther ba14e196f6 Implement wlr-output-power-management-v1
5 years ago
Dorota Czaplejewicz 37adcac5d1 text_input_v3: Note features supported by the text field
5 years ago
Ilia Bozhinov f416efa918 output-management: add current_configuration_dirty
5 years ago
Manuel Stoeckl 2fddec56e8 output: fix output transform compositions
5 years ago
Manuel Stoeckl f22a5d1704 Fix output rotation direction
5 years ago
Simon Ser c5376c2d2c seat: don't destroy global immediately
5 years ago
Simon Ser e63b70263a output: don't destroy global immediately
5 years ago
Andri Yngvason 273b280f46 virtual-pointer: Add request for mapping to specific output
5 years ago
Simon Ser 4b051aa926 meson: fix wayland-server minimum required version
5 years ago
Simon Ser b1a63bcd84 keyboard-group: two NULL keymaps are equal
5 years ago
xdavidwu 3b35043d00 text-input: fix missing destroy signal init
5 years ago
Andri Yngvason 51f8c22f4d virtual-pointer: Actually use the value passed to axis_discrete
5 years ago
Josef Gajdusek a7b538008b virtual-pointer: Add support for the wlr-virtual-pointer-unstable-v1
5 years ago
Simon Ser ff29843d87 output: only advertise current mode
5 years ago
Simon Ser 8bb2dc68ea xdg-shell: make wlr_xdg_surface_from_resource reject NULL
5 years ago
Simon Ser 7e521fed97 xdg-shell: fix inert xdg_surface handling
5 years ago
Simon Ser 8fc16890c7 output: refuse to commit a buffer or modeset a disabled output
5 years ago
Simon Ser b5597f5b44 output: clear pending bit if pending == current
5 years ago
Simon Ser 5d1ba0f446 output: re-introduce atomic mode, enabled, scale and transform
5 years ago
Brian Ashworth e0e5a167ed wlr_keyboard_group: fix mem leak in refresh_state
5 years ago
Simon Ser 471f9a3f6a output-management-v1: use wlr_output.description
5 years ago
Simon Ser 1f799c1cbd xdg-output-v1: use wlr_output.description
5 years ago
Simon Ser 4da4a15d6b output: add description
5 years ago
Scott Anderson cff1c2f740 meson: Various improvements
5 years ago
myfreeweb 774548696c Send tablet tool frame on proximity_out
5 years ago
Simon Ser 98cd11c019 output: fix wlr_output_preferred_mode fallback
5 years ago
Simon Ser 7fc58e704a surface: don't unref the current buffer on failure
5 years ago
Simon Ser 96e8e9b098 buffer: improve error handling
5 years ago
Manuel Stoeckl 8a5e4768e1 output: fix cursor wl_surface.{enter,leave} tracking
5 years ago
Simon Ser 16f22940d9 keyboard: emit key events without keymap
5 years ago
Simon Ser dc6ef658b6 Revert "output: add block_idle_frame"
5 years ago
Dorota Czaplejewicz fadd4706ed virtual_keyboard: Accept keycode 0
5 years ago
Simon Ser 5cde35923c Simplify globals implementation by removing destructors
5 years ago
Timidger 6bd7a62c09 Use layer shell v2
5 years ago
Simon Ser 2122e49bea presentation-time: add helper for common case
5 years ago
Simon Ser 533ea6d7ef presentation-time: make API more flexible
5 years ago
Simon Ser 3084cee7bc output: fix off-by-one wlr_output_event_present.commit_seq
5 years ago
Simon Ser 2d9661f189 output: set wlr_output.commit_seq before firing the commit event
5 years ago
Simon Ser 16e5e9541b Add -Wmissing-prototypes
5 years ago
Simon Ser 6c649bab53 output: add wlr_output_event_present.commit_seq
5 years ago
Alynx Zhou aa9ea95e1f Skip assign when sub_x or sub_y is NULL in wlr_surface_surface_at
5 years ago
Brian Ashworth f2d3b1000f Introduce wlr_keyboard_group
5 years ago
György Kurucz b81bb2ef30 Fix heap-use-after-free in wlr_send_tablet_v2_tablet_pad_leave
5 years ago
Simon Ser 9971db02ff output-management-v1: add assertion as a safety net
5 years ago
Andri Yngvason 61a6f2b928 screencopy: Implement damage reporting
5 years ago
Andri Yngvason 5d8bd4d343 output: Add commit sequence number
5 years ago
Timidger 1724261910 layer_shell: set layer of existing surface
5 years ago
Ivan Molodetskikh cbb2781fed output: add block_idle_frame
5 years ago
Ilia Bozhinov 480a31ea4e wlr_box: properly calculate closest point for non-positive area boxes
5 years ago
amingin b1b93c2c7e Fixes crash of compositor when unvalidated keycode 0 is passed (#1833)
5 years ago
Markus Ongyerth 57babd2e13 Move initialization of wlr_tablet_pad into types/wlr_tablet_pad
5 years ago
Ivan Molodetskikh 020a33e057 presentation_feedback: add the sampled state
5 years ago
Simon Ser c808613287 compositor: disconnect client on OOM in create_surface
5 years ago
Versus Void 2ecfc46b93 xdg-output: send wl_output.done after xdg_output created
5 years ago
Sebastian Krzyszkowiak a14d650864 wlr_seat_touch: Destroy the touchpoint on client destroy
5 years ago
Ilia Bozhinov 8b0f1bc850 layer-shell: ignore ack_configure() on closed surfaces
5 years ago
Sebastian Krzyszkowiak cdfe836b03 Revert "wlr_xdg_popup: don't treat all surfaces of grabbing client as grabbing surfaces"
5 years ago
Brian Ashworth fa477c77c4 wlr-layer-shell-v1: destroy xdg popups on unmap
5 years ago
Brian Ashworth 9914784594 wlr_xdg_toplevel: reparent on parent unmap
5 years ago
Antonin Décimo 217cf18a4b Avoid loss of a fractional part
5 years ago
Antonin Décimo 0695324de7 xdg_shell: remove variable self-assignment
5 years ago
Antonin Décimo 8f3d73e3a3 wlr_surface: condition is always false
5 years ago
Antonin Décimo 3fc977d7da Fix memory leak
5 years ago
Sebastian Krzyszkowiak 52037d13f7 wlr_xdg_popup: don't treat all surfaces of grabbing client as grabbing surfaces
5 years ago
Sebastian Krzyszkowiak 78d96009e4 wlr_xdg_popup: grab touch events alongside pointer and keyboard
5 years ago
Sebastian Krzyszkowiak 40d17c1305 wlr_seat_touch: add a way for a grab to ignore a touch point
5 years ago
Drew DeVault 94f65e354d Add libinput-1.14 support
5 years ago
Sebastian Krzyszkowiak 913cac1835 wlr_input_method_v2: Remove input method's resource from the list on destroy
5 years ago
Rouven Czerwinski 01f903874b Revert "output: atomic mode"
5 years ago
Simon Ser 6396710976 xdg-output: add support for xdg-output-unstable-v1 version 3
5 years ago
Simon Ser ee5f98ad49 output: atomic mode, enabled, scale and transform
5 years ago
Jason Francis d20aee6c9d export-dmabuf-v1: fix segfault on output disable
5 years ago
Jason Francis 724b5e1b8d screencopy: send failed after output disconnect
5 years ago
Jason Francis ce3e413e83 screencopy: fix segfault on disabled output
5 years ago
Simon Ser ca45f4490c Remove all wayland-server.h includes
5 years ago
Simon Ser 76ef089f52 output: drop wlr_output_mode.flags
5 years ago
Sebastian Krzyszkowiak 2d4bc66f11 wlr_touch: Declare wlr_touch_impl usage as const
5 years ago
Guido Günther 692a16cef7 layer-shell: Reject requests on gone surfaces
5 years ago
Guido Günther 91752e8285 layer-shell: Remove unused event source
5 years ago
Guido Günther df3f0ffbb0 wlr_seat_touch: Don't destroy touch point with surface
5 years ago
Manuel Stoeckl c2fb8a84a2 wlr_seat: special-case first serial set use
5 years ago
Manuel Stoeckl 1ef0c03a46 wlr_tablet_v2: Register event serials
5 years ago
Manuel Stoeckl 1d78bae19d wlr_pointer_gestures: Register event serials
5 years ago
Manuel Stoeckl ded441ffd5 wlr_seat: Fix edge cases with serial validation
5 years ago
Manuel Stoeckl edb30a6828 Implement serial validation for selection requests
5 years ago
Ilia Bozhinov fb739b8293 output-damage: set needs swap only when we have new damage
5 years ago
Dorota Czaplejewicz 0b1f9439ba virtual_keyboard: Require keymap before accepting keycodes
6 years ago
Simon Ser ce3f4c3fe1 output: remove wlr_output_impl.transform
6 years ago
Simon Ser 33127c545b output: reset the pending state on failed commit
6 years ago
Ashkan Kiani 06a13203dd Use a set to track pointer button state.
6 years ago
Simon Ser e07ffaa249 output-damage: support direct scan-out
6 years ago
Simon Ser 6c659da98b output: introduce wlr_output_lock_attach_render
6 years ago
Simon Ser e554c593f9 output: refuse to scan-out if software cursors are used
6 years ago
Simon Ser ff6b352d75 output: save buffer in pending state
6 years ago
Simon Ser afe7b207d5 output: fix attach_buffer semantics
6 years ago
Simon Ser 1d222309b8 output: change set_dmabuf to attach_buffer
6 years ago
Simon Ser 493804e421 buffer: add wlr_buffer_get_dmabuf
6 years ago
emersion 96d6fde5dc backend/drm: add basic support for direct scan-out
6 years ago
Simon Ser 3dec88e455 Remove orbital screenshooter and gamma-control
6 years ago
Brian Ashworth 6dfe238ff1 zwp_virtual-keyboard: fix mmap error handling
6 years ago
Rouven Czerwinski a5e32f652b wlr_output: remove idle_done on output destroy
6 years ago
Ilia Bozhinov 03346cb28f output: clear output->damage on successful commit
6 years ago
Ilia Bozhinov 4e6c17a7c9 foreign-toplevel: support fullscreen state and request
6 years ago
Simon Ser a656e486f4 seat: fallback to v6 if libwayland 1.17 isn't available
6 years ago
Simon Ser d7ef3a1f38 xdg-output: schedule a wl_output.done event on update
6 years ago
Simon Ser bde5a1f4ea output: introduce wlr_output_schedule_done
6 years ago
Drew DeVault 736632ad4e Remove wlr_wl_shell
6 years ago
Scott Anderson a671fc51d2 Advertise wl_seat version 7
6 years ago
Simon Ser 8d3369d70f output-damage: fix segfault after destroy
6 years ago
Simon Ser 20690346c7 output: rename needs_commit to needs_frame
6 years ago
Simon Ser 5e6766a165 output-damage: refactor API
6 years ago
Simon Ser 31dcecbfa9 output: rename swap_buffers event to precommit
6 years ago
Simon Ser 9a0f8a194c output: refactor backend API
6 years ago
Simon Ser 23e37e7b1d output: refactor frame submission API
6 years ago
Simon Ser 8acbf449cc output: introduce wlr_output_preferred_mode
6 years ago
Simon Ser 4207f05030 data-device: ignore accept for selection offers
6 years ago
Ilia Bozhinov d6615e0e84 idle: enable the compositors to add custom idle timeouts (#1655)
6 years ago
Ilia Bozhinov dc5d1d08ef output: do nothing in output_set_image if backend has no renderer
6 years ago
emersion 1515c56cae output: remove lx, ly
6 years ago
emersion 930e37eae9 output-management-v1: add more docs
6 years ago
Guido Günther 524f5c8425 Emit preferred mode
6 years ago
emersion ab3446091b output-management-v1: update protocol, add set_custom_mode
6 years ago
emersion fc0ba3ea22 output-management-v1: support outputs without modes
6 years ago
emersion 81e1489e79 output-management-v1: fix wl_fixed_t conversion
6 years ago
emersion 8136605cfb output-management-v1: support applying configuration
6 years ago
emersion d71ebde545 output-management-v1: add support for position, transform and scale
6 years ago
emersion ef68d7d4d1 output-management-v1: add support for modes
6 years ago
emersion e873c652bf output-management-v1: various fixes
6 years ago
emersion d695003498 Add apply and test events to manager
6 years ago
emersion 0b64ecc162 Split wlr_output_configuration_head_v1
6 years ago
emersion 3a233b3fcc Add support for wlr-output-management-unstable-v1
6 years ago
Guido Günther 9faea17c73
Merge pull request #1642 from emersion/format-set
6 years ago
emersion e42178d03f
render: switch wlr_renderer to wlr_drm_format_set
6 years ago
Markus Ongyerth 09b2833dcd send proximity_out in proximity in for tablet_v2
6 years ago
Stuart Dilts 08454adada types/meson.build: Add compile args for libinput to lib_wlr_types (#1636)
6 years ago
Brian Ashworth 17f688735f wlr_xdg_toplevel_v6: store pending fullscreen output
6 years ago
Brian Ashworth 4e614683b7 wlr_xdg_toplevel: store pending fullscreen output
6 years ago
Ryan Walklin 4453757fc9 s/lid_switch/switch_device
6 years ago
Brian Ashworth aa5c369910 wlr_output_layout_get_box: handle empty layout
6 years ago
emersion 30d3426164 seat: add debug logs when validating grab serials
6 years ago
Ian Fan 2e1dd4ae36 seat: fix remaining wlr_button_state enum rename
6 years ago
emersion e8f012c993 seat: only store serial if pressing a button
6 years ago
emersion 2fde5c95d8 seat: use wlr_button_state enum instead of uint32_t
6 years ago
emersion 4135fafecd seat: guard against button count corruption
6 years ago
emersion d425206719 data-device: check if there's a source before sending dnd_finish
6 years ago
emersion d6de640440
data-device: unbreak wl_data_source.cancel during drag-and-drop
6 years ago
emersion 7d367a9e21
data-offer: send WL_DATA_OFFER_ERROR_INVALID_FINISH
6 years ago
emersion 44ec3afb27
data-device: fix drag cleanup if not started
6 years ago
emersion 6291e84532
data-device: refactor wlr_drag
6 years ago
Drew DeVault ea28887a23
Merge pull request #1493 from emersion/primary-selection-v1
6 years ago
Markus Ongyerth fc9838b15e Prevent NULL dereference in tablet_tool handler
6 years ago
Drew DeVault b455df3b91
Merge pull request #1557 from emersion/inert-offers
6 years ago
emersion 07e1bedb08
data-device: make old offers inert before sending selection
6 years ago
emersion 81ed1efe4f
xwayland, data-device: fix surface state on unmap
6 years ago
emersion 943e918a96
subsurface: add map/unmap events
6 years ago
Brian Ashworth 3c9f791d0e wlr_output: do not modeset to current mode
6 years ago
Drew DeVault 8b203c28f8
Merge pull request #1548 from emersion/error-invalid-transform
6 years ago
Ivan Molodetskikh b59370088e Update data-control
6 years ago
emersion d238cc9f56
surface: error out on invalid transform
6 years ago
Sebastian Krzyszkowiak 69b9e2ae8f Post protocol error on invalid wl_surface scale
6 years ago
emersion 8163f7e1e2
primary-selection-v1: copy from gtk-primary-selection
6 years ago
Geoff Greer 5c8d2da0a1 Add a wlr_output_set_subpixel()
6 years ago
Ivan Molodetskikh 9e49ceb129 data-control: add primary selection support
6 years ago
Drew DeVault 20d404a091
Merge pull request #1529 from emersion/better-dnd-fix
6 years ago
emersion 7f5967234c
xdg-shell: destroy child popups on unmap
6 years ago
emersion 556bf3ac31
data-device: destroy previous source when starting drag
6 years ago
Connor E c1d0729d9a Make popup inert when destroyed.
6 years ago
John Chen f24e17259e Fix swaywm/sway#3545.
6 years ago
Drew DeVault 28f11aec31
Merge pull request #1523 from emersion/set-same-selection-crash
6 years ago
Drew DeVault 16a93eddfb
Merge pull request #1519 from emersion/dedup-source-mime-type
6 years ago
emersion f1d3aeff9a
data-device: fix crash when setting the same selection twice
6 years ago
emersion 790f0c52a1
De-duplicate data source MIME types
6 years ago
emersion 7defb30781
relative-pointer-v1: time is in usec, not msec
6 years ago
emersion 29952dee19
data-device: only allow one drag at a time
6 years ago
emersion d6de329d98
seat: don't send motion if pointer hasn't moved
6 years ago
emersion c505ce3019
data-device: fix use-after-free on drop
6 years ago
emersion 2624f667bf
Add missing frame events to shell pointer grabs
6 years ago
emersion 75371d2c88
Require libdrm >= 2.4.95
6 years ago
Greg V 9fe8e37961 Implement the pointer-gestures-unstable-v1 protocol
6 years ago
Drew DeVault 018727b1fc
Merge pull request #1503 from emersion/pointer-frame
6 years ago
emersion 5fdf22b5d3
data-control-v1: handle NULL sources in set_selection
6 years ago
emersion 5de26ad8ed
pointer: add a frame event
6 years ago
emersion a1f9d7ad9e
data-device: keep track of wlr_data_offer in wlr_seat lists
6 years ago
emersion 909b3b16f3
data-device: add wlr_data_offer.type
6 years ago
emersion 3f82eb1853
data-device: make device inert when seat is destroyed
6 years ago
emersion 9d6cb85b2d
seat: simplify data source destroy
6 years ago
emersion c20d413f8a
data-device: fix missing listener removal
6 years ago
emersion 703a160078
data-control-v1: use new wlr_data_source API
6 years ago
emersion 0040f7089f
data-device: unexport wlr_seat_client_send_selection
6 years ago
emersion 1a2727cc38
data-device: send offer on get_data_device
6 years ago
emersion 84f278eca1
data-device: remove data_source_send_offer
6 years ago
emersion 1150ff13ce
data-device: make sources inert, rename cancel to destroy
6 years ago
emersion 4cb0697e57 data-device, primary-selection: add request_set_selection
6 years ago
Ian Fan c41d01306d wlr_xdg_output_v1: move where name & description are sent
6 years ago
Brian Ashworth f3ff40a0eb wlr_xdg_output_v1: only send name/description once
6 years ago
emersion 365a75139c
Merge pull request #1485 from emersion/data-device-serial
6 years ago
Ilya Trukhanov c4ce3d0a49 Check if client understands wl_pointer::frame
6 years ago
emersion 06467d2e12
primary-selection: add a serial argument
6 years ago
emersion a4eb90315e
Fix indentation in various files
6 years ago
Drew DeVault d4de2bd708
Merge pull request #1476 from emersion/fullscreen-shell
6 years ago
Drew DeVault 0db2a687b7
Merge pull request #1479 from emersion/lost-crtc-state
6 years ago
emersion d4ffa5b7a6
backend/drm: fix state for outputs loosing their CRTC
6 years ago
Ilya Trukhanov 268cc450b6 Fix segfault in get_relative_pointer
6 years ago
Connor E b1cdd2b4b3 Use assertions instead of guard.
6 years ago
Connor E e7fff4f560 Remove wlr_xdg_surface_send_close.
6 years ago
emersion 0fafab87e3
Fix a few typos
6 years ago
Drew DeVault e61ea7706b
Merge pull request #1423 from emersion/data-control
6 years ago
emersion f71cf15aad
relative-pointer-v1: move pointer iteration in wlroots
6 years ago
emersion 86f263a0b8
fullscreen-shell-v1: initial protocol implementation
6 years ago
emersion 610f5bfc77
Merge pull request #1432 from ForTheReallys/relative-pointers
6 years ago
emersion 69e7fd61b7
data-control-v1: update to latest protocol proposal
6 years ago
emersion 340281b48a
data-control-v1: fix data source not properly destroyed
6 years ago
emersion a28167c255
data-control-v1: allow clearing selection
6 years ago
emersion ae1dd635b1
data-device: fix dangling listener in seat_client_selection_source_destroy
6 years ago
emersion aa2dafb7c8
data-control-v1: fix crash in manager_handle_get_data_control
6 years ago
emersion 1e581ad95c
data-control-v1: fix crash after wlr_data_control_v1_destroy
6 years ago
emersion 99d879c887
data-control-v1: initial protocol implementation
6 years ago
Alex Maese b8460f448c Rename some variables for clarity
6 years ago
Timidger 9af0c5338f
Standardize the wlr_box input paramaters
6 years ago
Alex Maese 5999d0322b Add a listener for when the pointer gets destroyed
6 years ago
Alex Maese 12d9edc0c9 Address more of @emersion's comments
6 years ago
Alex Maese a803a007fb Address @emersion's comments
6 years ago
Alex Maese f5ea393bca Remove pointer resource from relative pointer
6 years ago
Alex Maese 09bdbf24f4 Removed relative pointers from wlr_seat
6 years ago
Alex Maese f4cf3c0886 Remove wl_client from wlr_relative_pointer_v1
6 years ago
random human 68137dca3f relative_pointer: implementation and code fixes
6 years ago
random human fb44ce9fa8 relative_pointer: send frame event to pointer for Xwayland
6 years ago
random human 6fa1777f94 relative_pointer: code formatting fixes
6 years ago
random human d020344675 relative_pointer: implement protocol events
6 years ago
random human ba5b1676df relative_pointer: implement protocol requests
6 years ago
random human 3a3d1b6617 relative_pointer: create skeleton and build
6 years ago
Ryan Walklin 2a3c62b4d2 [WIP][DONTMERGE]Add support for libinput_switch input devices
6 years ago
Drew DeVault ef9506b0bc
Merge pull request #1433 from ammen99/fix-layer-shell-unconstrain
6 years ago
Ilia Bozhinov 07865104e1 xdg-popup: fix wlr_xdg_popup_get_toplevel_coords()
6 years ago
emersion c2113decb3
gtk-primary-selection: warn when offering MIME type after set_selection
6 years ago
emersion 8c573bc7c6
gtk-primary-selection: basic serial validation
6 years ago
Ilia Bozhinov 5b1b9657bf types: implement wlr_foreign_toplevel_management_v1
6 years ago
emersion 1256314afe
export-dmabuf-v1: add missing destroy request handler
6 years ago
Drew DeVault fdb67ff63b
Merge pull request #1415 from emersion/tablet-seat-leak
6 years ago
emersion 3ca7ca5306
tablet-v2: fix wlr_tablet_seat_v2 leak
6 years ago
emersion 5515faa197
xdg-shell: emit xdg_surface destroy when role object is destroyed
6 years ago
Drew DeVault 273e110b74
Merge pull request #1403 from emersion/swap-buffers-damage-coords
6 years ago
emersion 6aaefad40d
output: switch swap_buffers damage to output-buffer-local coords
6 years ago
emersion 9f0720c03a
primary-selection: introduce wlr_primary_selection_source
6 years ago
emersion 658b590567
gtk-primary-selection: fix segfault when no focus
6 years ago
emersion bfa7f4ee0d
gtk-primary-selection: use impl pattern for sources
6 years ago
emersion cbe42d1006
gtk-primary-selection: remove offer struct
6 years ago
emersion f001f98cef
gtk-primary-selection: refactor everything, untie from seat
6 years ago
Drew DeVault 05bb440786
Merge pull request #1387 from emersion/rename-gtk-primary-selection
6 years ago
Drew DeVault a2b8d47ff2
Merge pull request #1384 from emersion/data-multiple-devices
6 years ago
emersion a5b8ea90d2
surface: fix destroyed subsurfaces handling
6 years ago
emersion 4423f88fac
data-device: never cancel the source when offer is destroyed
6 years ago
emersion 5d26da9d15
data-device: allow multiple devices for the same seat
6 years ago
emersion 27d1910bec
text-input-v3: remove newline in log message
6 years ago
Drew DeVault 90f1a34d2c
Merge pull request #1375 from emersion/tablet-segfault
6 years ago
Ilia Bozhinov fb5691b6cc output: add wlr_output_preferred_read_format()
6 years ago
emersion 811a4d997b
Rename wlr_primary_selection to wlr_gtk_primary_selection
6 years ago
emersion eaafd65a12
gtk-primary-selection: track resources
6 years ago
emersion b9a2e4ba4c
gtk-primary-selection: support multiple devices
6 years ago
emersion 1b9ebcf645
output: make wlr_egl flip the damage
6 years ago
emersion ca770995cc
output: add wlr_output_render_software_cursors
6 years ago
emersion 57307b7aa7
output: remove wlr_output_set_fullscreen_surface
6 years ago
emersion 89ec624f81
tablet-v2: fix segfault on display destroy
6 years ago
emersion 95dfbe2962
xdg-shell: don't destroy xdg role state on role destroy
6 years ago
Julio Galvan a31fa678e5
Fix compilation error on musl
6 years ago
emersion 2d0c5ec78e
Use _POSIX_C_SOURCE, use shm_open
6 years ago
Drew DeVault d7b010024a
Merge pull request #1261 from arandomhuman/damage-control
6 years ago
emersion dec303bea6
surface: fix wlr_surface_get_effective_damage to give surface coords
6 years ago
emersion 62d646f2b8
render/gles2: remove assumptions about supported formats
6 years ago
emersion 68362b37a8
backend/drm: fix frame scheduling on secondary GPUs
6 years ago
emersion 346ec21c4c
util: use shm_open for in-memory files
6 years ago
Drew DeVault f668e49fae
Merge pull request #1340 from emersion/fix-input-method-destroy
6 years ago
emersion de8d87f5ae
input-method-v2: initialize destroy signal
6 years ago
emersion 3cb4ff3ff1
idle: allow zero timeout
6 years ago
Drew DeVault 6c7e0e48b1
Merge pull request #1289 from ixru/fix-cursor-visibility
6 years ago
Drew DeVault e0cf97da69
Merge pull request #1307 from emersion/static-analysis
6 years ago
emersion dfdbc1f870
output-layout, cursor: fix duplicate cursors
6 years ago
Drew DeVault ac26d23711
Merge pull request #1287 from emersion/source-seat-client
6 years ago
emersion 6730f5ba93
Merge pull request #1314 from nyorain/write_pixels_format
6 years ago
Dorota Czaplejewicz 14c6ee894e text-input: Don't reject enable requests when unfocused
6 years ago
nyorain cd28637187 Remove fmt parameter from wlr_texture_write_pixels
6 years ago
Drew DeVault e4a1560433
Merge pull request #1304 from nyorain/dmabuf_v1
6 years ago
emersion a9e02a9ea6 tablet-v2: fix memory leak on OOM, fix resource version
6 years ago
nyorain affbfb6a28 Support older wlr_linux_dmabuf_v1 clients
6 years ago
Dorota Czaplejewicz 226eedfa2b text-input: fix releasing destroy handlers
6 years ago
Drew DeVault 66e8908e9a
Merge pull request #1203 from dcz-purism/input
6 years ago
Dorota Czaplejewicz cec7471119 wlroots: add basic support for zwp_input_method_v2
6 years ago
Dorota Czaplejewicz 427735fcd9 wlroots: add support for zwp_text_input_unstable_v3
6 years ago
emersion 46b1ba386f output: remove idle_frame event source when destroying output
6 years ago
ixru 8d0997a5e7 Better placement of visibility check
6 years ago
ixru 6a9995d18c Fix cursor visibility on surface commit
6 years ago
emersion f44003f04b data-device: remove wlr_data_source.seat_client
6 years ago
emersion 5afaccedfc output: fix busy loop when backend doesn't implement schedule_frame
6 years ago
emersion ba91422747 output: don't trigger a frame immediately in schedule_frame
6 years ago
Drew DeVault 1e70b4cea2
Revert "Prevent excessive frame events when compositor doesn't swap buffers"
6 years ago
Ryan Dwyer b7b781ff44 Prevent excessive frame events when compositor doesn't swap buffers
6 years ago
emersion eac7c2ad2f output: add presentation refresh prediction
6 years ago
emersion b0635bf3e7 Rename get_present_clock to get_presentation clock, use it
6 years ago
emersion abddfc99f2 output: fix clock_gettime return value handling
6 years ago
emersion 54e1287f30 backend: add get_present_clock
6 years ago
emersion 26b9d6dbb1 output: send present event from all backends
6 years ago
emersion 78389fe722 output: add present event
6 years ago
emersion 3aad9fd6a9 presentation-time: add protocol implementation
6 years ago
random human 3e0a0f3c3a
wlr_surface: add wlr_surface_get_effective_damage
6 years ago
emersion 2beb68007e output: make gamma size a size_t and gamma table const
6 years ago
Emmanuel Gil Peyrot 130bf15cfa Fix a crash on zxdg_decoration_manager_v1 destroy
6 years ago
emersion f5ff702a69 gamma-control-v1: add missing destroy handler
6 years ago
Drew DeVault 5e9959daaa
Merge pull request #852 from Laaas/master
6 years ago
emersion fadbdcd13c seat: remove unused keyboard focus_change event
6 years ago
emersion d98181dab8 pointer-constraints: use proper wayland-scanner functions
6 years ago
emersion dac4f8e19f pointer-constraints: refactoring
6 years ago
emersion 31cc2fa4f9 pointer-constraints: make region not a pointer, add committed bitfield
6 years ago
emersion c89cd4945b pointer-constraints: rename wl_{global,resources}
6 years ago
random human 84ecfb546b
wlr_surface: more consistent argument naming in surface_update_damage
6 years ago
random human 5eca5d8946
wlr_surface: remove duplicated damage calculation
6 years ago
random human 3fd5da58a0
wlr_surface: fix surface damage on resize
6 years ago
random human 971cbeaa19
wlr_surface: fix surface damage transformation
6 years ago
Drew DeVault 33a3d8a555
Merge pull request #1252 from emersion/fatal-unknown-buffer
6 years ago
emersion ac28d701c0 buffer: disconnect clients that commit an unknown buffer type
6 years ago
Las afa2e399aa Fix implicit conversion of floats to ints in calls to pixman_region32_contains_point
6 years ago
emersion 3df602a62d export-dmabuf: disable hardware cursors if desired
6 years ago
emersion 928572c14d output: add wlr_output_set_hardware_cursors_enabled
6 years ago
random human 40a43003a1
Send unique keymap file descriptors
6 years ago
Las fa2e6e7d9d Implement pointer-constraints protocol in wlroots and rootston
6 years ago
Las 6367e0bc93 Add wlr_surface::input_region member
6 years ago
Las d446c53fe1 Make (wlr_)seat_client_from_pointer_resource public
6 years ago
Las 252bcce2f3 Add focus change event for seats
6 years ago
emersion 9f76263404 output-layout: don't expose outputs without a mode
6 years ago
Drew DeVault df991a55ab
Merge pull request #1241 from emersion/output-enable-error-checking
6 years ago
Drew DeVault 0210905eef
Merge pull request #1243 from emersion/layer-shell-suffix
6 years ago
Drew DeVault a088000983
Merge pull request #1244 from emersion/xdg-output-suffix
6 years ago
emersion fc960e5d06 layer-shell: add _v1 suffix
6 years ago
emersion b3cb22c003 xdg-output: add _v1 suffix
6 years ago
emersion cb293f09e7 output: make wlr_output_enable return a bool
6 years ago
emersion 524702eb16 output: introduce WLR_NO_HARDWARE_CURSORS
6 years ago
emersion 769a8e9917
Merge pull request #1160 from Ongy/tablet-grabs
6 years ago
Markus Ongyerth 21e1cc9ab4 Implement feedback
6 years ago
nyorain f6168c2afe Fix #1129 and remove sx, sy from wlr_drag_icon
6 years ago
emersion 017cfb0b86 backend/drm: log when de-allocating CRTC
6 years ago
emersion d22431d969
Merge pull request #1228 from arandomhuman/misc-mem
6 years ago
random human 9f511ae942
Remove listener link after tablet_manager destroy
6 years ago
random human 568b0ffe2c
Call wl_global_create first in case of failure
6 years ago
cnt0 6946134883 fix incorrect NULL check
6 years ago
Aidan Epstein e334b46b39
Fix uninitialized value in wlr_cursor.
6 years ago
random human 8589ae19de Fix bugs listed by clang's static analyzer
6 years ago
Alexander Bakker 221d412824 Init the new destroy signals added by #1200
6 years ago
Alexander Bakker 20db29779e Add destroy signals to types that are destroyed by wl_display_destroy
6 years ago
Brian Ashworth c6955fa89c
Merge pull request #1199 from apreiml/farthest_output
6 years ago
Armin Preiml 5617d2bd60 introduce wlr_output_layout_farthest_output
6 years ago
Dorota Czaplejewicz 6db9c4b746 wlr_virtual_keyboard: use wlr_input_device_destroy
6 years ago
Dorota Czaplejewicz 2929f0f8dd wlr_input_device: fix keyboard destruction
6 years ago
emersion f86f1daf9a Fix build on FreeBSD
6 years ago
Markus Ongyerth 3ad7b146eb Fix typos/order in tablet-v2
6 years ago
Markus Ongyerth f64962ace8 tablet-v2 tool: Implement implicit grab
6 years ago
emersion c4522062f6 xdg-output: fix segfault in handle_layout_destroy
6 years ago
Scott Anderson eb9c9d8852
Merge pull request #1173 from sdilts/add-missing-libinput
6 years ago
sdilts c95078320c Add missing dependency libinput to types/meson.build
6 years ago
emersion c3afe4f42e gamma-control-v1: improve error handling
6 years ago
emersion bbd0fbe573 gamma-control-v1: fix fds not closed
6 years ago
emersion 1705316fa7 gamma-control-v1: set O_NONBLOCK, improve error handling style
6 years ago
emersion 73b7111846 gamma-control-v1: reset gamma table when control is destroyed
6 years ago
emersion 6e8892d4d7 gamma-control-v1: don't insert control in the list before checking unicity
6 years ago
emersion a149c2370a Implement wlr-gamma-control-unstable-v1
6 years ago
Drew DeVault 5642c5cc8f
Merge pull request #1053 from emersion/xdg-decoration
6 years ago
emersion 555721f714 Add xdg-decoration-unstable-v1 support
6 years ago
Drew DeVault f1b65b34a6
Merge pull request #1127 from emersion/surface-precommit
6 years ago
Markus Ongyerth d5950255de tablet-v2 tablet_tool grab implementation
6 years ago
Ilia Bozhinov 8b7c85d765 xdg-shell(-v6): add set_title and set_app_id toplevel signals
6 years ago
Drew DeVault 4b096fc114 Revert "Merge pull request #1153 from emersion/include-config"
6 years ago
emersion 41094a7df5 Always include config.h
6 years ago
emersion 5dbf0fe7f2 linux-dmabuf: add v1 suffix
6 years ago
Markus Ongyerth 454f2a84a8 tablet-v2 tablet_pad grab implementation
6 years ago
emersion 4afd69bbe7 Remove unused types/wlr_tablet_v2.c
6 years ago
emersion 16d7e09d99 surface: add wlr_surface_role.precommit
6 years ago
Markus Ongyerth 9a6f77fc2c tablet-v2: fix merge commits and test again
6 years ago
Markus Ongyerth 74ca2f8fcf Another round of feedback from acrisci
6 years ago
Markus Ongyerth 43b20bfea2 First feedback pass from acrisci
6 years ago
Markus Ongyerth d9e978e1b3 rename wlr_tablet_tool to wlr_tablet
6 years ago
Markus Ongyerth 101080a382 Another feedback pass
6 years ago
Markus Ongyerth 6b51f3b57a use previous resource versions and destroy pads
6 years ago
Markus Ongyerth 503f9d6e52 emersion feedback
6 years ago
Markus Ongyerth 2bc09d91c3 Silent conversion from double to int should be illegal
6 years ago
Markus Ongyerth dc525a9c5f Clean up serial handling and automate proximity acompaning events
6 years ago
Markus Ongyerth 25c2808153 Clean up serial handling
6 years ago
Markus Ongyerth 88a4b908d1 Hide pad auxiliary data in .c file
6 years ago
Markus Ongyerth fa39fd178d Split tablet_v2 implementation for easier maintainance
6 years ago
Markus Ongyerth 2c12011472 Send all tablet tool axis events
6 years ago
Markus Ongyerth 6a40561e4c Fix clang build errors
6 years ago
Markus Ongyerth 2155c976f6 Improve inert resource handling
6 years ago
Markus Ongyerth b79d11395c Hook up set_cursor in rootston
6 years ago
Markus Ongyerth 0c9a26828a Use wlr_list for paths, and improve inert resource handling
6 years ago
Markus Ongyerth 31cec36b74 1st feedback pass
6 years ago
Markus Ongyerth 5c7a37f309 Add tool buttons
6 years ago
Markus Ongyerth 391eef6ea9 Propagate most axis events to clients
6 years ago
Markus Ongyerth f375246657 Implement basic tablet_pad handling (bound to keyboard focus)
6 years ago
Markus Ongyerth f696e980f1 stabilise tablet_v2 code (prevent bunch of crashes)
6 years ago
Markus Ongyerth e235f7d336 Basic tablet_v2 object lifetime
6 years ago
Markus Ongyerth 77bac448cc storage commit #2
6 years ago
Markus Ongyerth 4947295c8f convoluted tablet code
6 years ago
Markus Ongyerth bf8751d632 Start tablet protocol
6 years ago