From da4be19fc55ca5f083cebda14ae3e02a0b27af4d Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 11 Aug 2017 17:30:36 +0000 Subject: [PATCH] #1611: swap right and middle git-svn-id: https://xpra.org/svn/Xpra/trunk@16685 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/x11/x11_server_base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xpra/x11/x11_server_base.py b/src/xpra/x11/x11_server_base.py index 240d2167a0..c14935d025 100644 --- a/src/xpra/x11/x11_server_base.py +++ b/src/xpra/x11/x11_server_base.py @@ -130,8 +130,8 @@ def click(self, button, pressed, *_args): else: ubutton = { 1 : uinput.BTN_LEFT, - 2 : uinput.BTN_RIGHT, - 3 : uinput.BTN_MIDDLE, + 3 : uinput.BTN_RIGHT, + 2 : uinput.BTN_MIDDLE, 8 : uinput.BTN_SIDE, 9 : uinput.BTN_EXTRA, }.get(button)