From d81784cec62e25cf9a440fd198e9dec3659e7b9a Mon Sep 17 00:00:00 2001 From: Binyamin Sagal Date: Tue, 24 Nov 2015 15:41:46 +0200 Subject: [PATCH] remove horizontal scroll maping to forward/back partal fix for #2302 --- client/X11/xf_event.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/X11/xf_event.c b/client/X11/xf_event.c index 5f13d50..25023d5 100644 --- a/client/X11/xf_event.c +++ b/client/X11/xf_event.c @@ -334,20 +334,21 @@ BOOL xf_generic_ButtonPress(xfContext* xfc, int x, int y, int button, Window win flags = PTR_FLAGS_WHEEL | PTR_FLAGS_WHEEL_NEGATIVE | 0x0088; break; - case 6: /* wheel left or back */ case 8: /* back */ case 97: /* Xming */ extended = TRUE; flags = PTR_XFLAGS_DOWN | PTR_XFLAGS_BUTTON1; break; - case 7: /* wheel right or forward */ case 9: /* forward */ case 112: /* Xming */ extended = TRUE; flags = PTR_XFLAGS_DOWN | PTR_XFLAGS_BUTTON2; break; + //TODO handle: case 6: /* wheel left or back */ + //TODO handle: case 7: /* wheel right or forward */ + default: x = 0; y = 0; -- 2.7.4