summaryrefslogtreecommitdiff
path: root/src/frames.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-11-24 18:09:47 +0000
committerHavoc Pennington <hp@src.gnome.org>2003-11-24 18:09:47 +0000
commit423b5f5f3967eda1879affd3b82aadb4d9355c8d (patch)
treed19c9e970eba9fb014605420d956e3cee669f800 /src/frames.c
parentfeefcdd8920720b631c7eb0d45f09f79a30b8095 (diff)
downloadmetacity-423b5f5f3967eda1879affd3b82aadb4d9355c8d.tar.gz
add an event_serial argument and use it when the pointer is already
2003-11-24 Havoc Pennington <hp@redhat.com> * src/display.c (meta_display_begin_grab_op): add an event_serial argument and use it when the pointer is already grabbed automatically on the button press. May fix bug #126871
Diffstat (limited to 'src/frames.c')
-rw-r--r--src/frames.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/frames.c b/src/frames.c
index 3086837e..d1622cbe 100644
--- a/src/frames.c
+++ b/src/frames.c
@@ -2,6 +2,7 @@
/*
* Copyright (C) 2001 Havoc Pennington
+ * Copyright (C) 2003 Red Hat, Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -1257,6 +1258,7 @@ meta_frames_button_press_event (GtkWidget *widget,
frame->xwindow,
op,
TRUE,
+ meta_ui_get_last_event_serial (gdk_display),
event->button,
0,
event->time,
@@ -1336,6 +1338,7 @@ meta_frames_button_press_event (GtkWidget *widget,
frame->xwindow,
op,
TRUE,
+ meta_ui_get_last_event_serial (gdk_display),
event->button,
0,
event->time,
@@ -1355,6 +1358,7 @@ meta_frames_button_press_event (GtkWidget *widget,
frame->xwindow,
META_GRAB_OP_MOVING,
TRUE,
+ meta_ui_get_last_event_serial (gdk_display),
event->button,
0,
event->time,