summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2014-03-25 21:27:20 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2014-04-28 21:32:58 +0200
commit2c08ab1c6a68943ee1ae3ff1b641e11544091ced (patch)
tree5aeec8de624cbe1a930935b14d7cb17129d661cd /sub
parent80ec0bac432bb9a059c6d305ed3b6eed1ad08869 (diff)
downloadmpv-2c08ab1c6a68943ee1ae3ff1b641e11544091ced.tar.bz2
mpv-2c08ab1c6a68943ee1ae3ff1b641e11544091ced.tar.xz
cocoa: add constraints to prevent the window to exit the screen
Previously the window could be made to completly exit the screen with a combination or moving it close to an edge and halving it's size (via cmd+0). This commit address the problem in the most simple way possibile by constraining the window to the closest edge in these edge cases.
Diffstat (limited to 'sub')
0 files changed, 0 insertions, 0 deletions