[clutter: 1/3] wayland: Fix incorrect button mask in clutter_wayland_handle_button
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter: 1/3] wayland: Fix incorrect button mask in clutter_wayland_handle_button
- Date: Fri, 16 Jul 2021 16:09:34 +0000 (UTC)
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]