wlroots/backend/wayland
Alexander Orzechowski 82223e451a render/drm_syncobj: Add a callback when ready
The old approach of using a signal is fundamentally broken for a common
usecase: When the waiter is ready, it's common to immediately finish and
free any resources associated with it.
Because of the semantics of wl_signal_emit_mutable() this is UB.
wl_signal_emit_mutable() always excepts that the waiter hasn't been freed
until the signal has finished being emitted.

Instead of over engineering the solution, let's just add a callback required
by wlr_drm_syncobj_timeline_waiter_init(). In this callback, the implementation
is free to finish() or free() any resource it likes.
2025-01-26 18:02:05 -05:00
..
backend.c backend: replace get_buffer_caps hook with a struct field 2024-12-25 18:40:05 +00:00
meson.build meson: use kwargs for wayland deps 2024-11-21 16:46:55 +00:00
output.c render/drm_syncobj: Add a callback when ready 2025-01-26 18:02:05 -05:00
pointer.c pointer: release pressed buttons on destroy 2024-09-24 19:53:54 +00:00
seat.c backend/wayland: simplify wl_keyboard.{enter,leave} processing 2024-08-15 18:33:00 +00:00
tablet_v2.c Switch to stable tablet-v2 protocol 2024-06-27 18:04:00 +00:00