80 Commits (86ff511fe20737f4de5dd8925cf2a69710d1115a)

Author SHA1 Message Date
Ilia Bozhinov 75ecba444a seat: add serials to touch up events
7 months ago
Simon Ser 488a23c169 pointer: drop enum wlr_axis_orientation
9 months ago
Simon Ser ec5263e6b7 pointer: drop enum wlr_axis_relative_direction
9 months ago
Simon Ser 9f4cf242d9 pointer: drop enum wlr_axis_source
9 months ago
Simon Ser 842093bb84 Define _POSIX_C_SOURCE globally
10 months ago
Paul Cercueil 220df2aa0f
Add more POSIX compliance macros to fix uClibc support
10 months ago
Simon Ser 00bb1b0f84 seat/pointer: add support for axis_relative_direction event
10 months ago
Alexander Orzechowski 1b0694b794 treewide: Migrate from sizeof(struct) to sizeof(*pointer) where practical
1 year ago
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