summaryrefslogtreecommitdiff
path: root/wlr-input-inhibitor-unstable-v1.xml
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2024-09-07 00:27:37 +0200
committerAlexander Orzechowski <alex@ozal.ski>2024-09-06 19:46:24 -0400
commitcca2436ba535d17c49b7d7ba75ebfa6a18ec9209 (patch)
tree8b3f4cfc3ff55e5b8aad29d6629bb6f5664a2506 /wlr-input-inhibitor-unstable-v1.xml
parentde0731de6a44d99532fcd46c5894cff5f10e65a6 (diff)
Improve frame callback and commit handling
The few places that required a surface commit relied on render_frame and render_frame_background to form it form them after they had set up frame callback events. This would fail if render_frame ran out of buffers and exited early, as the caller would still wait indefinitely on the frame callback. swaylock would quite consistently run out of buffers when rendering immediately after a configure event, such as when the keypress causing render also caused outputs to be enabled from idle. Restructure the render and commit handling slightly so that the whole frame callback and commit setup is handled by the render code, which now has a single render entrypoint. This both avoids stalls from lacking commits, but also fixes the case the configure path to respect frame callbacks so we do not run out of buffers in the first place.
Diffstat (limited to 'wlr-input-inhibitor-unstable-v1.xml')
0 files changed, 0 insertions, 0 deletions