[five-or-more] Fix dragging the window after clicking the game view



commit 9171c1508626b19d3dedc849bf882a412e772788
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Fri Sep 11 12:21:07 2015 -0500

    Fix dragging the window after clicking the game view
    
    https://bugzilla.gnome.org/show_bug.cgi?id=754837

 src/five-or-more.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/five-or-more.c b/src/five-or-more.c
index 6408a82..26bcc34 100644
--- a/src/five-or-more.c
+++ b/src/five-or-more.c
@@ -1667,7 +1667,7 @@ startup_cb (GApplication *application)
 
   gtk_widget_set_events (draw_area,
                          gtk_widget_get_events (draw_area) |
-                         GDK_BUTTON_PRESS_MASK | GDK_KEY_PRESS_MASK);
+                         GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK);
 
   gtk_widget_set_can_focus (draw_area, TRUE);
   gtk_widget_grab_focus (draw_area);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]