summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-06-01 22:52:21 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-06-01 22:52:21 +0200
commit57571b5da3dde82816f5ed7f4371dd7670e55565 (patch)
tree3c3b05bde4a51cbc2966d8b770ee20e6ce48da0a /stream
parentf4dcb93be1ff35ebbaa03baf8e37976d2a622eb1 (diff)
downloadmpv-57571b5da3dde82816f5ed7f4371dd7670e55565.tar.bz2
mpv-57571b5da3dde82816f5ed7f4371dd7670e55565.tar.xz
cocoa_common: autohide dock/menubar on fs only if on same screen
Autohide the menubar and/or dock only if they are present in the screen the player is going to go fullscreen into. I thought the GUI would handle this for me when I switched 0057aa476 but lack of hardware to test made me embarass myself yet again. I reimplemented this feature with nicer code and behaviour. The code checks separately wether to hide menubar and dock separatly, while the old code used a single check possibly hiding stuff without need. Added the key checks as a some category additions to NSScreen for readability.
Diffstat (limited to 'stream')
0 files changed, 0 insertions, 0 deletions