Fix dx, dy position in gtk_drag_source_drag_begin

Coordinates are double. This change avoid an unneeded cast.
This commit is contained in:
Arjan Molenaar 2023-01-14 19:54:06 +01:00
parent 0834dac6ee
commit 757d1916ae

View File

@ -569,7 +569,7 @@ gtk_drag_source_drag_begin (GtkDragSource *source)
GtkNative *native;
GdkSurface *surface;
double px, py;
int dx, dy;
double dx, dy;
GdkContentProvider *content = NULL;
widget = gtk_event_controller_get_widget (GTK_EVENT_CONTROLLER (source));