diff options
author | Akemi <der.richter@gmx.de> | 2017-02-21 18:04:30 +0100 |
---|---|---|
committer | Akemi <der.richter@gmx.de> | 2017-02-21 19:26:33 +0100 |
commit | c824a023c4f640dd72d4c5dc1511eb53055d7535 (patch) | |
tree | b2d9e0fa4b11075a439bad39a5afca0c7e407e27 /video/out/cocoa | |
parent | aeddc499d84e0cc87e6f500dce99b8588ecc959a (diff) | |
download | mpv-c824a023c4f640dd72d4c5dc1511eb53055d7535.tar.bz2 mpv-c824a023c4f640dd72d4c5dc1511eb53055d7535.tar.xz |
cocoa: fix dragging out of focus window
fffab30 introduced a small regression where the cursor couldn't be
unhidden after refocusing. the problem is that no mouseUp event was
reported in our events_view. work around this with a separate event
monitor. this also fixes another regression when the window is being
dragged from the title bar.
#4174
Diffstat (limited to 'video/out/cocoa')
-rw-r--r-- | video/out/cocoa/events_view.m | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/video/out/cocoa/events_view.m b/video/out/cocoa/events_view.m index e6d536b776..8be74d5e15 100644 --- a/video/out/cocoa/events_view.m +++ b/video/out/cocoa/events_view.m @@ -211,7 +211,6 @@ { if ([self.adapter mouseEnabled]) { [self mouseUpEvent:event]; - [self.adapter mouseUp]; } else { [super mouseUp:event]; } |