summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-27 23:22:46 +0100
committerwm4 <wm4@nowhere>2013-11-02 19:03:40 +0100
commit131fad8bc94682fb81b6b331c9bf9e7aac09f1b7 (patch)
tree083ea3c9ed8fd031e4a0e99ed46532dc5bb91c99 /video/out/cocoa
parent6af87017d167deab1f0271cbcf8b016fe38178cf (diff)
downloadmpv-131fad8bc94682fb81b6b331c9bf9e7aac09f1b7.tar.bz2
mpv-131fad8bc94682fb81b6b331c9bf9e7aac09f1b7.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