Xinqi Bao's Git
projects
/
dwm.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
f806a17
)
simplification
author
anselm@anselm1 <unknown>
Mon, 19 May 2008 19:13:24 +0000
(20:13 +0100)
committer
anselm@anselm1 <unknown>
Mon, 19 May 2008 19:13:24 +0000
(20:13 +0100)
dwm.1
diff
|
blob
|
history
dwm.c
diff
|
blob
|
history
diff --git
a/dwm.1
b/dwm.1
index
66e89ee
..
5b45825
100644
(file)
--- a/
dwm.1
+++ b/
dwm.1
@@
-121,7
+121,7
@@
Quit dwm.
Move focused window while dragging. Tiled windows will be toggled to the floating state.
.TP
.B Mod1\-Button2
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.
.TP
.B Mod1\-Button3
Resize focused window while dragging. Tiled windows will be toggled to the floating state.
diff --git
a/dwm.c
b/dwm.c
index
235940e
..
5095b62
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-342,10
+342,8
@@
buttonpress(XEvent *e) {
restack();
movemouse(c);
}
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);
else if(ev->button == Button3 && !c->isfixed) {
restack();
resizemouse(c);