wlroots/backend
Simon Ser f620b32dc3 backend/wayland: allow superseding a previous commit
During a modeset, the core wlr_output logic will allocate a buffer
with a new size and commit it. However if we still have a frame
callback pending we'd refuse to perform the commit. This is
inconsistent with the DRM backend, which performs a blocking
modeset.

This is visible when resizing the Wayland toplevel. The logs are
filled with "Skipping buffer swap", and the wlr_damage_ring's
bounds are not properly updated.

Fix this by destroying the pending frame wl_callback.

(cherry picked from commit 2e49fa1a0a)
2023-02-02 19:01:43 +01:00
..
drm backend/drm: set "max bpc" property based on pixel format 2023-01-31 17:16:59 +01:00
headless backend: use global output name counters 2022-10-13 13:12:43 +02:00
libinput backend/libinput: Fix SIGSEGV found in low-memory fuzzing 2022-09-22 13:37:32 -04:00
multi Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
session Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00
wayland backend/wayland: allow superseding a previous commit 2023-02-02 19:01:43 +01:00
x11 backend/x11: fix delta_discrete value 2023-01-16 14:21:15 +03:00
backend.c backend: error out when missing DRM and libinput in wlr_backend_autocreate() 2022-12-07 15:06:29 +01:00
meson.build backend: remove noop backend 2021-11-25 16:49:05 +00:00