From a67ca002bb2231341618af19a063fc5365593356 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 11 Jul 2014 14:03:44 +0200 Subject: [PATCH] We need to set a label on all pointer buttons --- unix/xserver/hw/vnc/Input.cc | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.5