Fix dragging the window after clicking the game view

https://bugzilla.gnome.org/show_bug.cgi?id=754837
This commit is contained in:
Michael Catanzaro 2015-09-11 12:18:05 -05:00
parent 5fea3fd358
commit 6035af788c

View file

@ -37,7 +37,7 @@ public class ChessView : Gtk.DrawingArea
public ChessView ()
{
add_events (Gdk.EventMask.BUTTON_PRESS_MASK);
add_events (Gdk.EventMask.BUTTON_PRESS_MASK | Gdk.EventMask.BUTTON_RELEASE_MASK);
}
public override bool configure_event (Gdk.EventConfigure event)