src/video/cocoa/SDL_cocoawindow.m
changeset 7270 76df5476a6ce
parent 7205 b1ca5be78064
child 7271 963d2ba35cfe
--- a/src/video/cocoa/SDL_cocoawindow.m	Tue Jun 04 13:47:51 2013 -0700
+++ b/src/video/cocoa/SDL_cocoawindow.m	Tue Jun 04 13:53:55 2013 -0700
@@ -538,7 +538,7 @@
     [super resetCursorRects];
     SDL_Mouse *mouse = SDL_GetMouse();
 
-    if (mouse->cursor_shown && mouse->cur_cursor) {
+    if (mouse->cursor_shown && mouse->cur_cursor && !mouse->relative_mode) {
         [self addCursorRect:[self bounds]
                      cursor:mouse->cur_cursor->driverdata];
     } else {