win32: remove another call to gdk_device_warp()

Inline the implementation (untested). To fix the build.
This commit is contained in:
Christoph Reiter 2019-03-26 08:19:42 +01:00
parent ae68dc7a7d
commit 0638dca29a

View File

@ -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);
}
}