wlroots-hyprland/backend
Simon Ser 2e49fa1a0a 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.
2023-02-02 17:24:37 +00:00
..
drm backend/drm: set "max bpc" property based on pixel format 2023-01-31 09:32:11 +00:00
headless backend: use global output name counters 2022-10-13 13:12:43 +02:00
libinput build: unify naming for HAVE_* defines 2022-12-06 22:39:45 +00:00
multi backend: drop wlr_backend_get_session() 2022-11-15 21:16:25 +00:00
session backend/session: make optional 2022-11-25 16:15:29 +00:00
wayland backend/wayland: allow superseding a previous commit 2023-02-02 17:24:37 +00:00
x11 backend/x11: fix delta_discrete value 2023-01-16 14:19:44 +03:00
backend.c backend/session: make optional 2022-11-25 16:15:29 +00:00
meson.build backend/session: make optional 2022-11-25 16:15:29 +00:00