[gnome-chess/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: [gnome-chess/gnome-3-16] Fix dragging the window after clicking the game view
- Date: Fri, 11 Sep 2015 17:19:07 +0000 (UTC)
commit 813e026f7fd0be168826e8aa5317f39401b80f45
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Fri Sep 11 12:18:05 2015 -0500
Fix dragging the window after clicking the game view
https://bugzilla.gnome.org/show_bug.cgi?id=754837
src/chess-view.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/chess-view.vala b/src/chess-view.vala
index d1e3780..655bae4 100644
--- a/src/chess-view.vala
+++ b/src/chess-view.vala
@@ -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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]