]> source.dussan.org Git - tigervnc.git/commitdiff
We need to set a label on all pointer buttons
authorPierre Ossman <ossman@cendio.se>
Fri, 11 Jul 2014 12:03:44 +0000 (14:03 +0200)
committerPierre Ossman <ossman@cendio.se>
Fri, 11 Jul 2014 12:03:44 +0000 (14:03 +0200)
unix/xserver/hw/vnc/Input.cc

index a6a51d7fc28e5880923017f201e358399570a33d..1474f93a3d733eae9afe134990dc2cdcce67b917 100644 (file)
@@ -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);