summaryrefslogtreecommitdiffstats
path: root/mpvcore
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-08-21 18:09:48 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-08-22 11:54:28 +0200
commitacbf5e826a6edaa9a11c4e431660fbdb05f183b1 (patch)
tree07d165f4c2bc92d2470052a4732c85376c306a48 /mpvcore
parent45365ad99fc096f1eebc27d1e40362ea12722924 (diff)
downloadmpv-acbf5e826a6edaa9a11c4e431660fbdb05f183b1.tar.bz2
mpv-acbf5e826a6edaa9a11c4e431660fbdb05f183b1.tar.xz
cocoa_common: fix window positioning with `--geometry`
Regression since ff3b98d11c. The window positioning code relied on the visibleFrame's height without taking into account the dock's presence. Also moved the constraining code to the proper method that overrides the original NSWindow behaviour. This avoids having to check for border since the constraining is performed by Cocoa only for titled windows. Fixes #190
Diffstat (limited to 'mpvcore')
0 files changed, 0 insertions, 0 deletions