diff options
author | Philip Langdale <philipl@overt.org> | 2019-11-26 08:39:40 +0800 |
---|---|---|
committer | Philip Langdale <github.philipl@overt.org> | 2019-11-29 16:56:20 +0800 |
commit | f3c2f1f6aa969001a74455061637cc7e194f614a (patch) | |
tree | dc7f2b2509084f210aa028abf4f197235e506629 /player | |
parent | 5e3eb03ecfc604652705d56c778c08ccead9e64e (diff) | |
download | mpv-f3c2f1f6aa969001a74455061637cc7e194f614a.tar.bz2 mpv-f3c2f1f6aa969001a74455061637cc7e194f614a.tar.xz |
wayland: restore window geometry after un-maximize
At least with gnome-shell (I know, I know), the compositor does
not provide the old window size when leaving the maximized state.
Instead, we get a toplevel_config event with a 0x0 size and no
additional states.
Today, we already save the window geometry to restore it when leaving
the fullscreen state, so we just need a small change for it to
kick in for leaving the maximized state. If I read this correctly,
we'll still respect the size passed by a compositor that actually
provides the old size.
Diffstat (limited to 'player')
0 files changed, 0 insertions, 0 deletions