aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2025-03-19 00:15:01 +0100
committerFurkan Sahin <furkan-dev@proton.me>2025-03-19 00:15:01 +0100
commit143659cddb801ce44c1fa282fbc8983e3454d322 (patch)
tree7d483bfee1167216353468dbb5d7b19015ddb6ea /client
parent50dbd7b5c00a58dd49e821a9e344079c08e83bd8 (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 'client')
0 files changed, 0 insertions, 0 deletions