# HG changeset patch # User anselm@anselm1 # Date 1211224404 -3600 # Node ID 6e2f71b72e515cc71699437a7405362d5a12e980 # Parent c4a359bfcbb6acbe04b99b9cc7dba96309446f8a simplification diff -r c4a359bfcbb6 -r 6e2f71b72e51 dwm.1 --- a/dwm.1 Mon May 19 20:08:31 2008 +0100 +++ b/dwm.1 Mon May 19 20:13:24 2008 +0100 @@ -121,7 +121,7 @@ Move focused window while dragging. Tiled windows will be toggled to the floating state. .TP .B Mod1\-Button2 -Zooms/cycles focused window to/from master area. If it is floating (but not fixed) it will be toggled to the tiled state instead. +Toggles focused window between floating and tiled state. .TP .B Mod1\-Button3 Resize focused window while dragging. Tiled windows will be toggled to the floating state. diff -r c4a359bfcbb6 -r 6e2f71b72e51 dwm.c --- a/dwm.c Mon May 19 20:08:31 2008 +0100 +++ b/dwm.c Mon May 19 20:13:24 2008 +0100 @@ -342,10 +342,8 @@ restack(); movemouse(c); } - else if(ev->button == Button2) { - if(lt->arrange && c->isfloating) - togglefloating(NULL); - } + else if(ev->button == Button2) + togglefloating(NULL); else if(ev->button == Button3 && !c->isfixed) { restack(); resizemouse(c);