GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit d77dcfb9 authored by Matthias Clasen's avatar Matthias Clasen

Better fix for keynav dnd

With proper rounding, we can go back to a 'small step' of 1.
parent 7e0a30b7
......@@ -4170,7 +4170,9 @@ gtk_drag_motion_cb (GtkWidget *widget,
else
screen = gdk_event_get_screen ((GdkEvent *)event);
gtk_drag_update (info, screen, event->x_root, event->y_root, (GdkEvent *) event);
x_root = (gint)(event->x_root + 0.5);
y_root = (gint)(event->y_root + 0.5);
gtk_drag_update (info, screen, x_root, y_root, (GdkEvent *) event);
return TRUE;
}
......@@ -4184,7 +4186,7 @@ gtk_drag_motion_cb (GtkWidget *widget,
*************************************************************/
#define BIG_STEP 20
#define SMALL_STEP 2
#define SMALL_STEP 1
static gboolean
gtk_drag_key_cb (GtkWidget *widget,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment