summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-05-24 16:58:21 +0300
committerlukefromdc <[email protected]>2018-05-24 16:31:24 -0400
commit72edb5de006251f6d561291ccf230d685bfb5f16 (patch)
tree2bc0b09876fa610eebc39f58f725c87eb80ed3ae
parent28de7bc506b57fffe81c75d77974789d528af4a3 (diff)
downloadpluma-72edb5de006251f6d561291ccf230d685bfb5f16.tar.bz2
pluma-72edb5de006251f6d561291ccf230d685bfb5f16.tar.xz
pluma-notebook: pass event to gdk_seat_grab
follow-up to d6d1cdb0e241ee3a07200ad0561a8105b6243c2b
-rw-r--r--pluma/pluma-notebook.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pluma/pluma-notebook.c b/pluma/pluma-notebook.c
index 39502ec2..5936ed82 100644
--- a/pluma/pluma-notebook.c
+++ b/pluma/pluma-notebook.c
@@ -394,7 +394,7 @@ pluma_notebook_reorder_tab (PlumaNotebook *src,
static void
drag_start (PlumaNotebook *notebook,
- guint32 time)
+ GdkEvent *event)
{
GdkSeat *seat;
GdkDevice *device;
@@ -424,7 +424,7 @@ drag_start (PlumaNotebook *notebook,
GDK_SEAT_CAPABILITY_POINTER,
FALSE,
cursor,
- NULL,
+ event,
NULL,
NULL);
}
@@ -493,7 +493,7 @@ motion_notify_cb (PlumaNotebook *notebook,
event->x_root,
event->y_root))
{
- drag_start (notebook, event->time);
+ drag_start (notebook, (GdkEvent *) event);
return TRUE;
}
@@ -570,7 +570,7 @@ move_current_tab_to_another_notebook (PlumaNotebook *src,
G_CALLBACK (motion_notify_cb),
NULL);
- drag_start (dest, event->time);
+ drag_start (dest, (GdkEvent *) event);
}
static gboolean