diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-02-22 08:08:36 +0100 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-22 08:08:36 +0100 |
| commit | 92105e7862822f5c884367c4cb62c0464ee8e636 (patch) | |
| tree | 507d3e3435ae65cac55ad25de9dd2f15cc181cc6 /layout.c | |
| parent | fixing missing extern declars in dwm.h for {de,at}tach() (diff) | |
| download | dwm-92105e7862822f5c884367c4cb62c0464ee8e636.tar.gz dwm-92105e7862822f5c884367c4cb62c0464ee8e636.zip | |
fixed exit condition in togglemax()
Diffstat (limited to 'layout.c')
| -rw-r--r-- | layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -195,7 +195,7 @@ void | |||
| 195 | togglemax(Arg arg) { | 195 | togglemax(Arg arg) { |
| 196 | XEvent ev; | 196 | XEvent ev; |
| 197 | 197 | ||
| 198 | if(!sel || !sel->isversatile || sel->isfixed || lt->arrange != versatile) | 198 | if(!sel || (lt->arrange != versatile && !sel->isversatile) || sel->isfixed) |
| 199 | return; | 199 | return; |
| 200 | if((sel->ismax = !sel->ismax)) { | 200 | if((sel->ismax = !sel->ismax)) { |
| 201 | sel->rx = sel->x; | 201 | sel->rx = sel->x; |
