This patch is adding mouse wheel action on clip to switch from one workspace to another. It's a modified version of the vinelinux.org (WindowMaker-0.95.6-wheel.diff) which was setting the action on the entire dock.
---
src/dock.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/dock.c b/src/dock.c
index e837280..57e2d7f 100644
--- a/src/dock.c
+++ b/src/dock.c
@@ -4020,6 +4020,10 @@ static void iconMouseDown(WObjDescriptor *desc,
XEvent *event)
if (!btn->launching && (!btn->running || (event->xbutton.state &
ControlMask)))
launchDockedApplication(btn, True);
+ } else if (event->xbutton.button == Button4 && dock->type == WM_CLIP) {
+ wWorkspaceRelativeChange(scr, 1);
+ } else if (event->xbutton.button == Button5 && dock->type == WM_CLIP) {
+ wWorkspaceRelativeChange(scr, -1);
}
}
--
2.1.0
0001-wmaker-add-clip-mouse-wheel-action-to-change-workspa.patch
Description: Binary data
