diff src/video/cocoa/SDL_cocoawindow.m @ 1958:5fc6fb0fb605

Added right/other drag code for Cocoa windows
author Sam Lantinga <slouken@libsdl.org>
date Sat, 29 Jul 2006 23:00:15 +0000
parents c7803e4c21d3
children 25d6537feea4
line wrap: on
line diff
--- a/src/video/cocoa/SDL_cocoawindow.m	Sat Jul 29 22:42:48 2006 +0000
+++ b/src/video/cocoa/SDL_cocoawindow.m	Sat Jul 29 23:00:15 2006 +0000
@@ -218,6 +218,16 @@
     [self mouseMoved:theEvent];
 }
 
+- (void)rightMouseDragged:(NSEvent *)theEvent
+{
+    [self mouseMoved:theEvent];
+}
+
+- (void)otherMouseDragged:(NSEvent *)theEvent
+{
+    [self mouseMoved:theEvent];
+}
+
 - (void)scrollWheel:(NSEvent *)theEvent
 {
     int index;