aboutsummaryrefslogtreecommitdiff
path: root/common/log.c
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2024-10-28 11:47:10 +0100
committerSimon Ser <contact@emersion.fr>2024-11-28 20:38:53 +0100
commit6d4d41cd09e29256973b97f325828d7219f4c49c (patch)
treea2187f8b269edd611f02897281dd4493286570eb /common/log.c
parentc93ff73051682913bf0238d15d6ee25d9a3e1a08 (diff)
desktop/output: Store output config on request_state
An output backend might request any change to an output state at any time, although currently only this is currently only used for changing window size on the wayland and x11 backend. Applying the configuration directly means that the current output state becomes inconsistent with the configured state, which can cause the new state to be reverted later if apply_stored_output_configs is called. Before 4f9ce4675cf4. the output geometry would be updated by arrange_outputs, but this is only done by the modeset logic now, resulting in the stored geometry never being updated on wayland backend window resize. This was not discovered as the stored geometry is not used particularly often. Solve both by storing a new output configuration and relying on the modeset logic to apply a new state. Fixes: 4f9ce4675cf4 ("tree/arrange: Remove redundant output geometry update") (cherry picked from commit 1e53007bc33c1afa2c3ea580050f94f29c5ce8e4)
Diffstat (limited to 'common/log.c')
0 files changed, 0 insertions, 0 deletions