Index: src/events.c =================================================================== --- src/events.c (revision 29907) +++ src/events.c (working copy) @@ -634,7 +634,7 @@ clientMove (c, (XEvent *) ev); } } - else if ((ev->button == Button1) || (ev->button == Button3)) + else if (ev->button == Button1) { if ((ev->button == Button1) || ((screen_info->params->easy_click) && (state == screen_info->params->easy_click))) @@ -647,6 +647,34 @@ } clientResize (c, part, (XEvent *) ev); } + else if (ev->button == Button3) + { + clientMove (c, (XEvent *) ev); + } + else if (ev->button == Button4) + { + /* Mouse wheel scroll up */ + if (state == AltMask) + { + clientIncOpacity(c); + } + else if (!FLAG_TEST (c->flags, CLIENT_FLAG_SHADED)) + { + clientShade (c); + } + } + else if (ev->button == Button5) + { + /* Mouse wheel scroll down */ + if (state == AltMask) + { + clientDecOpacity(c); + } + else if (FLAG_TEST (c->flags, CLIENT_FLAG_SHADED)) + { + clientUnshade (c); + } + } } static int Index: doc/C/xfwm4.xml =================================================================== --- doc/C/xfwm4.xml (revision 29907) +++ doc/C/xfwm4.xml (working copy) @@ -376,6 +376,7 @@ left or right click on the title bar of the window and drag it + right click on the top edge of the window frame and drag it use Alt + left click while the pointer is anywhere over the window frame and move the mouse use Control + Alt + Shift + (up, down, left or right)