wayland: properly restore window size when being un-tiled

Bind to xdg-shell version 2 if available, as this enables us to
track our window’s ‘tiled’ state in the ‘configure’ events.

This in turn allows us to stash the ‘old’ window size when being
tiled, to be used again when restoring the window size when un-tiled.
This commit is contained in:
Daniel Eklöf 2020-10-20 20:58:03 +02:00
parent f70d36ed5d
commit f928c1fa68
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 52 additions and 17 deletions

View file

@ -51,6 +51,7 @@
* Crash when libxkbcommon cannot find a suitable libX11 _compose_
file. Note that foot will run, but without support for dead keys.
(https://codeberg.org/dnkl/foot/issues/170).
* Restored window size when window is un-tiled.
### Security