[iagno] Fix dragging the window after clicking the game view



commit 3ec28919f9f604d25785f753143008275fd91d3e
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Fri Sep 11 12:25:26 2015 -0500

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

 src/game-view.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/game-view.vala b/src/game-view.vala
index d6016d6..054ac76 100644
--- a/src/game-view.vala
+++ b/src/game-view.vala
@@ -229,7 +229,7 @@ public class GameView : Gtk.DrawingArea
 
     public GameView ()
     {
-        set_events (Gdk.EventMask.EXPOSURE_MASK | Gdk.EventMask.BUTTON_PRESS_MASK);
+        set_events (Gdk.EventMask.EXPOSURE_MASK | Gdk.EventMask.BUTTON_PRESS_MASK | 
Gdk.EventMask.BUTTON_RELEASE_MASK);
         set_size_request (350, 350);
     }
 


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