[clutter: 1/3] wayland: Fix incorrect button mask in clutter_wayland_handle_button




commit 9208bd170895786f14434da7092a33e500a04789
Author: Jason Gerecke <killertofu gmail com>
Date:   Wed Jun 14 09:19:17 2017 -0700

    wayland: Fix incorrect button mask in clutter_wayland_handle_button
    
    https://bugzilla.gnome.org/show_bug.cgi?id=783791

 clutter/wayland/clutter-input-device-wayland.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/clutter/wayland/clutter-input-device-wayland.c b/clutter/wayland/clutter-input-device-wayland.c
index 3dab22070..4a89d7391 100644
--- a/clutter/wayland/clutter-input-device-wayland.c
+++ b/clutter/wayland/clutter-input-device-wayland.c
@@ -135,11 +135,11 @@ clutter_wayland_handle_button (void *data,
     break;
   case 273:
     event->button.button = 3;
-    modifier_mask = CLUTTER_BUTTON2_MASK;
+    modifier_mask = CLUTTER_BUTTON3_MASK;
     break;
   case 274:
     event->button.button = 2;
-    modifier_mask = CLUTTER_BUTTON3_MASK;
+    modifier_mask = CLUTTER_BUTTON2_MASK;
     break;
   }
 


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