[gnome-taquin] Gdk.BUTTON_PRIMARY.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-taquin] Gdk.BUTTON_PRIMARY.
- Date: Sun, 15 Feb 2015 19:46:43 +0000 (UTC)
commit b5c877abde51e3886afe60dc9a49e19428eeed04
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Sun Feb 15 20:46:30 2015 +0100
Gdk.BUTTON_PRIMARY.
src/taquin-view.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/taquin-view.vala b/src/taquin-view.vala
index ed1dd86..3c46c85 100644
--- a/src/taquin-view.vala
+++ b/src/taquin-view.vala
@@ -403,7 +403,7 @@ public class TaquinView : Gtk.DrawingArea
{
if (animate || animate_end)
return true;
- if (event.button == 1 || event.button == 3)
+ if (event.button == Gdk.BUTTON_PRIMARY || event.button == Gdk.BUTTON_SECONDARY)
{
draw_lights = false;
game.request_move ((int) (event.x - x_offset - grid_border_main + tile_size) / tile_size - 1,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]