aboutsummaryrefslogtreecommitdiffstats
path: root/swaylock/shadow.c
diff options
context:
space:
mode:
authorLibravatar Kenny Levinsen <kl@kl.wtf>2024-07-15 00:12:39 +0200
committerLibravatar Alexander Orzechowski <alex@ozal.ski>2024-07-14 18:24:13 -0400
commit3f327b3db0c1fc6985c0ed3231e1bd6296584dad (patch)
treed922ebfad30c6877ef16b7b518b2c6d56881ccfa /swaylock/shadow.c
parentbuild: use fs.relative_to() instead of hand-rolled logic (diff)
downloadsway-3f327b3db0c1fc6985c0ed3231e1bd6296584dad.tar.gz
sway-3f327b3db0c1fc6985c0ed3231e1bd6296584dad.tar.zst
sway-3f327b3db0c1fc6985c0ed3231e1bd6296584dad.zip
desktop/output: Stop repaint loop when not needed
1e0031781fc9 refactored repaint to accumulate all changes in a single wlr_output_state and commit them at the end of the repaint loop, replacing a call to wlr_scene_output_commit. wlr_scene_output_commit contains an early bail-out when no frame has been requested and no damage has accumulated, which was not replicated as part of this refactor, causing the repaint loop to never pause. Replicate the logic to stop the repaint loop as needed. Fixes: 1e0031781fc9 ("desktop/output: unify page-flip codepath")
Diffstat (limited to 'swaylock/shadow.c')
0 files changed, 0 insertions, 0 deletions