diff options
author | wm4 <wm4@nowhere> | 2013-10-27 23:22:46 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-10-27 23:22:46 +0100 |
commit | f2d438a1fd395fff0304594c35d46a3891d0ad65 (patch) | |
tree | 0366d92583bc31a369f80b2457da26f0d77c5a59 /video/out/cocoa | |
parent | 6e1eb8add9d8612ad0262660e77eaae006d4fc55 (diff) | |
download | mpv-f2d438a1fd395fff0304594c35d46a3891d0ad65.tar.bz2 mpv-f2d438a1fd395fff0304594c35d46a3891d0ad65.tar.xz |
x11: fix border toggling
Trying to toggle the border during fullscreen (with "cycle border")
would leave the window stuck without border, and it couldn't be
restored. This was because vo_x11_decoration() always excepted to be
called when toggling the state, and thus confusing the contents of the
olddecor variable. Add got_motif_hints to hopefully prevent this.
Also, when changing the border, don't take fs in account. May break on
older/broken WMs, but all in all is in fact more robust and simpler,
because you do not need to update the border state manually when
returning from fullscreen.
Diffstat (limited to 'video/out/cocoa')
0 files changed, 0 insertions, 0 deletions