diff --git a/gdk/win32/gdksurface-win32.c b/gdk/win32/gdksurface-win32.c index f5ce2b357c..fcf43bc33f 100644 --- a/gdk/win32/gdksurface-win32.c +++ b/gdk/win32/gdksurface-win32.c @@ -4112,7 +4112,7 @@ setup_drag_move_resize_context (GdkSurface *window, * the titlebar is, if any. */ root_y = wy + wheight / 2; - gdk_device_warp (device, root_x, root_y); + SetCursorPos (root_x - _gdk_offset_x, root_y - _gdk_offset_y); } }