aboutsummaryrefslogtreecommitdiff
path: root/include/ipc.h
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2024-10-28 11:47:10 +0100
committerAlexander Orzechowski <alex@ozal.ski>2024-10-30 19:56:07 -0400
commit1e53007bc33c1afa2c3ea580050f94f29c5ce8e4 (patch)
treed8ac3d821acc6d741682da778cb3b9714f2579bc /include/ipc.h
parente7c972b04a109c59dae1dd73da4d9bd7cbc6800c (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")
Diffstat (limited to 'include/ipc.h')
0 files changed, 0 insertions, 0 deletions