72 Commits (5ef42e8e8adece098848fac53c721b6eb3818fc2)

Author SHA1 Message Date
Simon Ser fe06e5f49a Use wl_container_of() instead of casts
1 year ago
Simon Ser 7a9f8d8d6b Use struct initializers instead of memset()
1 year ago
Kirill Primak 0f67580aab compositor: introduce wlr_surface_set_role_object()
1 year ago
Kirill Primak 753f3cc4fa compositor: add wlr_surface_role.no_object
1 year ago
Kirill Primak 24a479a501 drag: don't set icon's role_data
1 year ago
Kirill Primak 2acc74a3db Clear input regions if they're ignored
2 years ago
Väinö Mäkelä f97f4496de data-device: Handle inert seats
2 years ago
Kirill Primak af4181f388 drag: use unified map logic
2 years ago
Andri Yngvason 3898bb482d seat: Let client manage its own resources
2 years ago
Simon Ser 0e54b861e9 seat/keyboard: constify wlr_seat_keyboard_notify_enter()
2 years ago
Simon Ser 695d28c250 seat/keyboard: constify wlr_seat_keyboard_notify_modifiers()
2 years ago
bi4k8 8b12037cad wlr_seat: clear `drag->seat_client` when destroyed
2 years ago
Kirill Primak 099b9de752 compositor: drop role object NULL checks in handlers
2 years ago
Kirill Primak 92fbfda2ca drag-icon: use role object destroy handler
2 years ago
Alexander Orzechowski ef4baea0e2 Use wl_signal_emit_mutable
2 years ago
Kenny Levinsen 668b2740ff Set mapped before firing map/unmap events
2 years ago
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