projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ee9f13
)
fixed exit condition in togglemax()
author
Anselm R. Garbe
<arg@suckless.org>
Thu, 22 Feb 2007 07:08:36 +0000
(08:08 +0100)
committer
Anselm R. Garbe
<arg@suckless.org>
Thu, 22 Feb 2007 07:08:36 +0000
(08:08 +0100)
layout.c
patch
|
blob
|
history
diff --git
a/layout.c
b/layout.c
index 6a65599e020e9fa49773ff0d8a268c69d739cbb8..02ef559dbab21eaa1fcd92f9b9c1cb784a6c52a8 100644
(file)
--- a/
layout.c
+++ b/
layout.c
@@
-195,7
+195,7
@@
void
togglemax(Arg arg) {
XEvent ev;
- if(!sel ||
!sel->isversatile || sel->isfixed || lt->arrange != versatile
)
+ if(!sel ||
(lt->arrange != versatile && !sel->isversatile) || sel->isfixed
)
return;
if((sel->ismax = !sel->ismax)) {
sel->rx = sel->x;