From c093ed852cc384683f502f5b686178b33e406063 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Fri, 5 Sep 2014 14:03:49 +0200 Subject: [PATCH] Connect mousewheel to Forward/BackwardEvent (XB) The mouse buttons 4 and 5 are now processed in the handler for the board widget. --- dialogs.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dialogs.c b/dialogs.c index badad64..3a1769c 100644 --- a/dialogs.c +++ b/dialogs.c @@ -2536,6 +2536,8 @@ Exp (int n, int x, int y) case 3: menuNr = RightClick(Press, x, y, &pmFromX, &pmFromY), but3 = 1; break; case -2: shiftKey = !shiftKey; case -3: menuNr = RightClick(Release, x, y, &pmFromX, &pmFromY), but3 = 0; break; + case 4: BackwardEvent(); break; + case 5: ForwardEvent(); break; case 10: sizing = (oldW != x || oldH != y); oldW = x; oldH = y; -- 1.7.0.4