summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa/events_view.m
diff options
context:
space:
mode:
authorAkemi <der.richter@gmx.de>2017-02-21 18:04:30 +0100
committerAkemi <der.richter@gmx.de>2017-02-21 19:26:33 +0100
commitc824a023c4f640dd72d4c5dc1511eb53055d7535 (patch)
treeb2d9e0fa4b11075a439bad39a5afca0c7e407e27 /video/out/cocoa/events_view.m
parentaeddc499d84e0cc87e6f500dce99b8588ecc959a (diff)
downloadmpv-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/events_view.m')
-rw-r--r--video/out/cocoa/events_view.m1
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];
}