Skip to content

Commit

Permalink
pluma-notebook: pass event to gdk_seat_grab
Browse files Browse the repository at this point in the history
follow-up to d6d1cdb
  • Loading branch information
monsta authored and lukefromdc committed May 24, 2018
1 parent 28de7bc commit 72edb5d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pluma/pluma-notebook.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ pluma_notebook_reorder_tab (PlumaNotebook *src,


static void static void
drag_start (PlumaNotebook *notebook, drag_start (PlumaNotebook *notebook,
guint32 time) GdkEvent *event)
{ {
GdkSeat *seat; GdkSeat *seat;
GdkDevice *device; GdkDevice *device;
Expand Down Expand Up @@ -424,7 +424,7 @@ drag_start (PlumaNotebook *notebook,
GDK_SEAT_CAPABILITY_POINTER, GDK_SEAT_CAPABILITY_POINTER,
FALSE, FALSE,
cursor, cursor,
NULL, event,
NULL, NULL,
NULL); NULL);
} }
Expand Down Expand Up @@ -493,7 +493,7 @@ motion_notify_cb (PlumaNotebook *notebook,
event->x_root, event->x_root,
event->y_root)) event->y_root))
{ {
drag_start (notebook, event->time); drag_start (notebook, (GdkEvent *) event);
return TRUE; return TRUE;
} }


Expand Down Expand Up @@ -570,7 +570,7 @@ move_current_tab_to_another_notebook (PlumaNotebook *src,
G_CALLBACK (motion_notify_cb), G_CALLBACK (motion_notify_cb),
NULL); NULL);


drag_start (dest, event->time); drag_start (dest, (GdkEvent *) event);
} }


static gboolean static gboolean
Expand Down

0 comments on commit 72edb5d

Please sign in to comment.