wlroots/backend/wayland
Simon Ser e6fd880686 backend/wayland: listen to wl_buffer.release events
Previously, we just assumed submitting a new frame would make the
compositor release the current one. This isn't always the case, for
instance Sway retains old buffers when a transaction is pending. This
resulted in synchronization issues with clients writing in
front-buffers.

Fix this by un-referencing a wlr_buffer when the parent compositor sends
wl_buffer.release.

Tested by running a fullscreen mpv instance in Sway with the Wayland
backend.
2020-01-09 07:41:50 -07:00
..
backend.c backend/wayland: add support for presentation-time 2019-11-21 11:32:30 -05:00
meson.build meson: Various improvements 2019-12-23 07:48:29 -05:00
output.c backend/wayland: listen to wl_buffer.release events 2020-01-09 07:41:50 -07:00
tablet_v2.c Clean up wayland backend tablet support 2019-09-26 19:41:19 +03:00
wl_seat.c Add -Wmissing-prototypes 2019-11-20 02:05:03 +00:00