summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2019-11-26 08:39:40 +0800
committerPhilip Langdale <github.philipl@overt.org>2019-11-29 16:56:20 +0800
commitf3c2f1f6aa969001a74455061637cc7e194f614a (patch)
treedc7f2b2509084f210aa028abf4f197235e506629 /player/command.c
parent5e3eb03ecfc604652705d56c778c08ccead9e64e (diff)
downloadmpv-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/command.c')
0 files changed, 0 insertions, 0 deletions