diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2020-12-05 15:57:45 +0100 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2020-12-07 20:37:29 +0100 |
commit | ac17217c69b3a439cc3039ee39e92801203b726f (patch) | |
tree | 83a42f3a4c5bc6b42f794d009cbb3d20aa037baa /tests/animated-resizing.c | |
parent | 2e5eeb6b925621486328b1410373ec8bd324d78c (diff) | |
download | gtk+-ac17217c69b3a439cc3039ee39e92801203b726f.tar.gz |
wayland/toplevel: Don't alwyas skip changing xdg_toplevel state
We only called xdg_toplevel.(un)set_maximize() if the toplevel layout
changed, but this misses the case when the compositor had changed the
maximized state. Change it to call the xdg_toplevel request if either
the local layout changed, or if the layout differs from the current
state.
This fixes an issue where one couldn't unmaximize a window by double
clicking the titlebar that, had previously been maximized e.g. using a
keyboard binding.
Do the same for fullscreen.
Diffstat (limited to 'tests/animated-resizing.c')
0 files changed, 0 insertions, 0 deletions