summaryrefslogtreecommitdiff
path: root/src/video/cocoa/cocoa_wnd.mm
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/cocoa/cocoa_wnd.mm')
-rw-r--r--src/video/cocoa/cocoa_wnd.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video/cocoa/cocoa_wnd.mm b/src/video/cocoa/cocoa_wnd.mm
index afe2cece6..30fa3969b 100644
--- a/src/video/cocoa/cocoa_wnd.mm
+++ b/src/video/cocoa/cocoa_wnd.mm
@@ -564,6 +564,7 @@ void CocoaDialog(const char *title, const char *message, const char *buttonLabel
- (void)mouseUp:(NSEvent *)event
{
if (self->_emulated_down) {
+ self->_emulated_down = false;
[ self rightMouseUp:event ];
} else {
_left_button_down = false;