equal
deleted
inserted
replaced
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 */ |