comparison src/video/quartz/SDL_QuartzWM.m @ 303:767c10b9ec9f

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Thu, 07 Mar 2002 20:29:04 +0000
parents f6ffac90895c
children f25f666d609a
comparison
equal deleted inserted replaced
302:8a86bdf34f0f 303:767c10b9ec9f
181 p = NSMakePoint (x, y); 181 p = NSMakePoint (x, y);
182 cgp = QZ_PrivateSDLToCG (this, &p); 182 cgp = QZ_PrivateSDLToCG (this, &p);
183 CGDisplayMoveCursorToPoint (display_id, cgp); 183 CGDisplayMoveCursorToPoint (display_id, cgp);
184 warp_ticks = SDL_GetTicks(); 184 warp_ticks = SDL_GetTicks();
185 warp_flag = 1; 185 warp_flag = 1;
186
187 SDL_PrivateMouseMotion(0, 0, x, y);
186 } 188 }
187 189
188 static void QZ_WarpWMCursor (_THIS, Uint16 x, Uint16 y) { 190 static void QZ_WarpWMCursor (_THIS, Uint16 x, Uint16 y) {
189 191
190 /* Only allow warping when in foreground */ 192 /* Only allow warping when in foreground */