summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas James Alexander Thurman <tthurman@src.gnome.org>2008-12-19 12:47:11 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2008-12-19 12:47:11 +0000
commit38faa8fe109071dcb9c49fdbc13774d13f4691ee (patch)
treeff973bb53d8fbb34fb1dfbd5ead50daf21822c50
parent9abdc6c0fab7b66380f1f1eb555c89cbc1131e1d (diff)
downloadmetacity-38faa8fe109071dcb9c49fdbc13774d13f4691ee.tar.gz
when the user double-clicks the title bar, end the grab op. Closes
* src/ui/frames.c: when the user double-clicks the title bar, end the grab op. Closes #401028. svn path=/trunk/; revision=4059
-rw-r--r--ChangeLog5
-rw-r--r--src/ui/frames.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4aaea574..507f42e7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-12-19 Thomas Thurman <tthurman@gnome.org>
+
+ * src/ui/frames.c: when the user double-clicks the title bar,
+ end the grab op. Closes #401028.
+
2008-12-16 Thomas Thurman <tthurman@gnome.org>
* configure.in: Post-release bump to 2.25.89.
diff --git a/src/ui/frames.c b/src/ui/frames.c
index 093af921..700e7471 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -1388,6 +1388,7 @@ meta_frames_button_press_event (GtkWidget *widget,
event->button == 1 &&
event->type == GDK_2BUTTON_PRESS)
{
+ meta_core_end_grab_op (gdk_display, event->time);
return meta_frame_double_click_event (frame, event);
}