Dears,
follow a simple change to enable the use of mouse`s botton4/button5 (wheel-up/wheel-down) on CWM. I can use M-4, for example, to raise a window and M-5 to lower. Att, Index: conf.c =================================================================== RCS file: /cvs/xenocara/app/cwm/conf.c,v retrieving revision 1.133 diff -u -r1.133 conf.c --- conf.c 23 May 2013 16:52:39 -0000 1.133 +++ conf.c 15 Jun 2013 20:14:46 -0000 @@ -545,7 +545,7 @@ { "menu_cmd", mousefunc_menu_cmd, MOUSEBIND_CTX_ROOT }, }; -static unsigned int mouse_btns[] = { Button1, Button2, Button3 }; +static unsigned int mouse_btns[] = { Button1, Button2, Button3, Button4, Button5 }; int conf_mousebind(struct conf *c, char *name, char *binding) @@ -571,7 +571,7 @@ } else substring = name; - button = strtonum(substring, 1, 3, &errstr); + button = strtonum(substring, 1, 5, &errstr); if (errstr) warnx("button number is %s: %s", errstr, substring);