diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-03-25 21:27:20 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-04-28 21:32:58 +0200 |
commit | 2c08ab1c6a68943ee1ae3ff1b641e11544091ced (patch) | |
tree | 5aeec8de624cbe1a930935b14d7cb17129d661cd /video/vdpau.c | |
parent | 80ec0bac432bb9a059c6d305ed3b6eed1ad08869 (diff) | |
download | mpv-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 'video/vdpau.c')
0 files changed, 0 insertions, 0 deletions