diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-06-22 16:58:38 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-06-23 10:37:56 +0000 |
| commit | 2a83202fddc4423fd102b0d5f19b0b445301a88e (patch) | |
| tree | 2ebc66df1bfdd38a8229bde9236b93262fd4d70d /server.c | |
| parent | config: remove duplicated error logs for invalid colors (diff) | |
wayland: apply CSD/SSD changes in the surface configure event
The configure event asks the client to change its decoration
mode. The configured state should not be applied immediately.
Clients must send an ack_configure in response to this event.
See xdg_surface.configure and xdg_surface.ack_configure for
details.
In particular, ”the configured state should *not* be applied
immediately”.
Instead, treat CSD/SSD changes like all other window dimension related
changes: store the to-be mode in win->configure, and apply it in the
surface configure event.
This fixes an issue where foot incorrectly resized the window when the
server switched between CSD/SSD at run-time.
Diffstat (limited to 'server.c')
0 files changed, 0 insertions, 0 deletions
