Skip to content

Commit 72edb5d

Browse files
monstalukefromdc
authored andcommitted
pluma-notebook: pass event to gdk_seat_grab
follow-up to d6d1cdb
1 parent 28de7bc commit 72edb5d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pluma/pluma-notebook.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ pluma_notebook_reorder_tab (PlumaNotebook *src,
394394

395395
static void
396396
drag_start (PlumaNotebook *notebook,
397-
guint32 time)
397+
GdkEvent *event)
398398
{
399399
GdkSeat *seat;
400400
GdkDevice *device;
@@ -424,7 +424,7 @@ drag_start (PlumaNotebook *notebook,
424424
GDK_SEAT_CAPABILITY_POINTER,
425425
FALSE,
426426
cursor,
427-
NULL,
427+
event,
428428
NULL,
429429
NULL);
430430
}
@@ -493,7 +493,7 @@ motion_notify_cb (PlumaNotebook *notebook,
493493
event->x_root,
494494
event->y_root))
495495
{
496-
drag_start (notebook, event->time);
496+
drag_start (notebook, (GdkEvent *) event);
497497
return TRUE;
498498
}
499499

@@ -570,7 +570,7 @@ move_current_tab_to_another_notebook (PlumaNotebook *src,
570570
G_CALLBACK (motion_notify_cb),
571571
NULL);
572572

573-
drag_start (dest, event->time);
573+
drag_start (dest, (GdkEvent *) event);
574574
}
575575

576576
static gboolean

0 commit comments

Comments
 (0)