aboutsummaryrefslogtreecommitdiffstats
path: root/swaybar/main.c
diff options
context:
space:
mode:
authorLibravatar Kenny Levinsen <kl@kl.wtf>2024-09-18 00:46:29 +0200
committerLibravatar Alexander Orzechowski <alex@ozal.ski>2024-09-20 00:26:36 -0400
commit785a459a55d8b55b4bed1fdc55b04c32be5b450c (patch)
treed71154f456c8875095f137cbb6a5c9c7d2632a84 /swaybar/main.c
parentconfig/output: support DRM_FORMAT_ARGB8888 (diff)
downloadsway-785a459a55d8b55b4bed1fdc55b04c32be5b450c.tar.gz
sway-785a459a55d8b55b4bed1fdc55b04c32be5b450c.tar.zst
sway-785a459a55d8b55b4bed1fdc55b04c32be5b450c.zip
ext-session-lock: Do not use commit listener to arrange
Arranging lock surfaces rely on the sway_output width and height being updated, but these are only updated after the commit has been completed and all commit listeners have executed. This means that the lock surfaces will not be appropriately scaled to match a change in output dimensions, and may reveal what is under the lock background. Replace the implicit arrange through the output commit listener with an explicit arrange after the output configuration is finalized. This might have regressed by other transition away from output commit listeners for other arrange tasks, but even then it would have erroneously relied on signalling order.
Diffstat (limited to 'swaybar/main.c')
0 files changed, 0 insertions, 0 deletions