win32: Actually pass y variable for y parameter

This commit is contained in:
Benjamin Otte 2019-05-21 07:11:03 +02:00
parent 1793546d7a
commit 0877b29e8e

View File

@ -1733,7 +1733,7 @@ _gdk_win32_surface_drag_begin (GdkSurface *surface,
GDK_NOTE (DND, g_print ("_gdk_win32_surface_drag_begin\n"));
gdk_device_get_position (device, &px, &px);
gdk_device_get_position (device, &px, &py);
x_root = round (px) + dx;
y_root = round (py) + dy;