diff options
author | Jason Gerecke <killertofu@gmail.com> | 2017-06-14 09:19:17 -0700 |
---|---|---|
committer | Jason Gerecke <killertofu@gmail.com> | 2021-07-15 15:49:15 -0700 |
commit | 9208bd170895786f14434da7092a33e500a04789 (patch) | |
tree | ef0f693a21b1f4a4bdf83879633b3d141a0c739a /clutter/wayland/clutter-input-device-wayland.c | |
parent | c577315acbb6917b1f28cfc8d09defd44e0d4d77 (diff) | |
download | clutter-9208bd170895786f14434da7092a33e500a04789.tar.gz |
wayland: Fix incorrect button mask in clutter_wayland_handle_button
https://bugzilla.gnome.org/show_bug.cgi?id=783791
Diffstat (limited to 'clutter/wayland/clutter-input-device-wayland.c')
-rw-r--r-- | clutter/wayland/clutter-input-device-wayland.c | 4 |
1 files 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; } |