diff options
author | Pierre Ossman <ossman@cendio.se> | 2014-07-11 14:03:44 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2014-07-11 14:03:44 +0200 |
commit | a67ca002bb2231341618af19a063fc5365593356 (patch) | |
tree | e6e10c46474ce29107eedd27f6adb2a268fa2457 /unix | |
parent | 95f1f294d0fd7b006f52d18d39ae0c3116258d91 (diff) | |
download | tigervnc-a67ca002bb2231341618af19a063fc5365593356.tar.gz tigervnc-a67ca002bb2231341618af19a063fc5365593356.zip |
We need to set a label on all pointer buttons
Diffstat (limited to 'unix')
-rw-r--r-- | unix/xserver/hw/vnc/Input.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/xserver/hw/vnc/Input.cc b/unix/xserver/hw/vnc/Input.cc index a6a51d7f..1474f93a 100644 --- a/unix/xserver/hw/vnc/Input.cc +++ b/unix/xserver/hw/vnc/Input.cc @@ -229,6 +229,8 @@ static int pointerProc(DeviceIntPtr pDevice, int onoff) btn_labels[2] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_RIGHT); btn_labels[3] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_WHEEL_UP); btn_labels[4] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_WHEEL_DOWN); + btn_labels[5] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_HWHEEL_LEFT); + btn_labels[6] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_HWHEEL_RIGHT); axes_labels[0] = XIGetKnownProperty(AXIS_LABEL_PROP_REL_X); axes_labels[1] = XIGetKnownProperty(AXIS_LABEL_PROP_REL_Y); |