[four-in-a-row/gnome-3-16] Fix dragging the window after clicking the game view
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [four-in-a-row/gnome-3-16] Fix dragging the window after clicking the game view
- Date: Fri, 11 Sep 2015 17:24:05 +0000 (UTC)
commit 986f32dc3b7b6cba7653ea709e6514d14bfc3b02
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Fri Sep 11 12:23:14 2015 -0500
Fix dragging the window after clicking the game view
https://bugzilla.gnome.org/show_bug.cgi?id=754837
src/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 11e0df8..0859d54 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1150,7 +1150,7 @@ create_app (GApplication *app, gpointer user_data)
gtk_widget_set_valign (drawarea, GTK_ALIGN_FILL);
gtk_container_add (GTK_CONTAINER (frame), drawarea);
- gtk_widget_set_events (drawarea, GDK_EXPOSURE_MASK | GDK_BUTTON_PRESS_MASK);
+ gtk_widget_set_events (drawarea, GDK_EXPOSURE_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK);
g_signal_connect (G_OBJECT (drawarea), "configure_event",
G_CALLBACK (on_drawarea_resize), NULL);
g_signal_connect (G_OBJECT (drawarea), "draw",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]