diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2012-01-06 09:54:04 +0100 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2012-03-25 22:30:37 +0300 |
commit | 09beba6e9ec2c59befdfb3b4df9d4683303de880 (patch) | |
tree | dd49acc610ab3a51c276484b2a1abac7989dd1c8 /libvo/cocoa_common.h | |
parent | 495dde4018e071f81462052d5b4c09c973f25f16 (diff) | |
download | mpv-09beba6e9ec2c59befdfb3b4df9d4683303de880.tar.bz2 mpv-09beba6e9ec2c59befdfb3b4df9d4683303de880.tar.xz |
cocoa_common: accept window drag event from the whole window surface
Change the window to accept mouse drag events not only on the title
bar, but also on the rest of the window surface; this includes the
video area.
It looks like the changing of the window mask resets the behaviour
specified in the delegate method, probably due to some strange
interaction with NSBorderlessWindow. For this reason call
-setPresentationOptions in the -fullscreen method to remind cocoa the
behaviour we want.
Diffstat (limited to 'libvo/cocoa_common.h')
0 files changed, 0 insertions, 0 deletions