aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2025-03-19 00:15:01 +0100
committerSimon Ser <contact@emersion.fr>2025-03-20 12:40:27 +0100
commit30434b2beb0c621015452775011426da8d5e4705 (patch)
tree7d483bfee1167216353468dbb5d7b19015ddb6ea /.github
parent3a49409dae9b8d579a4b92370ff5ba4a48cb5156 (diff)
desktop/output: Skip repaint if wlr_output is disabled
When the repaint timer fires, we check if the sway_output is disabled, and if so, skip the output commit after having reset frame_pending. The sway_output enable flag is only updated if the output is disabled and removed from the layout, not if the power is disabled for e.g. idle. This can lead to situations where a commit is attempted on a disabled output, which will lead to an attempted and failed primary swapchain allocation. Use the wlr_output.enabled state to check if the output is active.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions