56 Commits (c2e046022f36001fd2b9fd369ac14acf73a20e23)

Author SHA1 Message Date
Simon Ser 6c350799b2 Zero-initialize structs in init functions
3 years ago
Kirill Primak 617eb4fb93 surface: deprecate wlr_surface.h
3 years ago
Isaac Freund c9ba9e82b6
wlr_drag: emit destroy after wl_data_device.leave
3 years ago
Kenny Levinsen d2ca220fda wlr_drag: Destroy drag after releasing grabs
4 years ago
Thomas Hebb dcae6f1431 Allow keyboard and pointer grabs to hook clear_focus()
5 years ago
Simon Ser 5cde35923c Simplify globals implementation by removing destructors
5 years ago
Simon Ser 16e5e9541b Add -Wmissing-prototypes
5 years ago
Simon Ser ca45f4490c Remove all wayland-server.h includes
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
Simon Ser 4207f05030 data-device: ignore accept for selection offers
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 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 556bf3ac31
data-device: destroy previous source when starting drag
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
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 29952dee19
data-device: only allow one drag at a time
6 years ago
emersion c505ce3019
data-device: fix use-after-free on drop
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 c20d413f8a
data-device: fix missing listener removal
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
emersion ae1dd635b1
data-device: fix dangling listener in seat_client_selection_source_destroy
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
Julio Galvan a31fa678e5
Fix compilation error on musl
6 years ago
emersion 2d0c5ec78e
Use _POSIX_C_SOURCE, use shm_open
6 years ago
emersion f44003f04b data-device: remove wlr_data_source.seat_client
6 years ago
nyorain f6168c2afe Fix #1129 and remove sx, sy from wlr_drag_icon
6 years ago
Drew DeVault c0b4217fce
Merge pull request #1116 from emersion/surface-role
6 years ago
emersion 7cbef15206
util: add wlr_ prefix to log symbols
6 years ago
emersion deeca53e33
Rename wl_resources to resource, wl_global to global
6 years ago
emersion 33db4263a0
surface: replace wlr_surface_set_role_committed with wlr_surface_role
6 years ago
emersion adf0423f7c
surface: better buffer position handling
6 years ago
emersion 3c0d672ebd
surface: make pending and current embedded structs
6 years ago
Tony Crisci 7c888a39c6 update drag position at the right times
7 years ago
Tony Crisci 319ebdf476 add back map event
7 years ago