all repos — dwm @ 5f55af40aecbce7aa1bf01bdca50d92014c02a5c

my dwm build

simplification
anselm@anselm1 unknown
Mon, 19 May 2008 20:13:24 +0100
commit

5f55af40aecbce7aa1bf01bdca50d92014c02a5c

parent

f806a17692a145fb6fcc59ca4c2c199f7975f40a

2 files changed, 3 insertions(+), 5 deletions(-)

jump to
M dwm.1dwm.1

@@ -121,7 +121,7 @@ .B Mod1\-Button1

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.
M dwm.cdwm.c

@@ -342,10 +342,8 @@ if(ev->button == Button1) {

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);