aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2024-09-06 00:36:29 +0200
committerSimon Ser <contact@emersion.fr>2024-09-20 19:46:40 +0200
commit559f9eba336c4dac76e500e9a598e52d9035f66d (patch)
treef0662aed32cf26a4e5fb0035cbef8f49f7d40e4a /include
parent31ce4ea53d5a61f8b85f683fdf71caad007debff (diff)
desktop/transaction: Deactivate workspace on inactive outputs
If the output is not active, it might not have a valid geometry to arrange for. Outputs do not gain a geometry until modeset, so if an output is connected with a configuration present to disable it, it will not have a geometry. If the output has a past workspace restored, this will be attemtped arranged to fit a 0x0 rectangle, which asserts when trying to sort out borders. Consider the workspace activated only if the output itself is active to get the scene nodes disabled. (cherry picked from commit 14bff7b451d865f16e3fc82279dfba314b11269c)
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions