[gnome-sudoku/gnome-3-16] Fix dragging the window after clicking the game view



commit acc7961e14abeb0614f80f42389484d686121a10
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Fri Sep 11 12:32:16 2015 -0500

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

 src/sudoku-view.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/sudoku-view.vala b/src/sudoku-view.vala
index eabb37e..ebe1dd6 100644
--- a/src/sudoku-view.vala
+++ b/src/sudoku-view.vala
@@ -113,7 +113,7 @@ private class SudokuCellView : Gtk.DrawingArea
         // background_color is set in the SudokuView, as it manages the color of the cells
 
         can_focus = true;
-        events = EventMask.EXPOSURE_MASK | EventMask.BUTTON_PRESS_MASK | EventMask.KEY_PRESS_MASK;
+        events = EventMask.EXPOSURE_MASK | EventMask.BUTTON_PRESS_MASK | EventMask.BUTTON_RELEASE_MASK | 
EventMask.KEY_PRESS_MASK;
 
         if (is_fixed)
             return;


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