diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-05-28 15:05:47 +0200 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-05-28 15:05:47 +0200 |
commit | 492c6f10fcf9acf74d84eb3fe005ecf2dd42611a (patch) | |
tree | 1a2bca5a3c60c246a5978f00649bc7b0a5aeb9d1 /client.c | |
parent | caa7ab536224b0bf4dcd2790a51ead6b7a6cf119 (diff) | |
download | dwm-492c6f10fcf9acf74d84eb3fe005ecf2dd42611a.tar.gz |
applied Sanders patch
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client.c b/client.c index 040dd15..f3d31cb 100644 --- a/client.c +++ b/client.c @@ -305,8 +305,8 @@ togglefloating(const char *arg) { if(!sel || lt->arrange == floating) return; sel->isfloating = !sel->isfloating; - if(sel->isfloating && sel->isfixed) - resize(sel, sel->x, sel->y, sel->minw, sel->minh, True); + if(sel->isfloating) + resize(sel, sel->x, sel->y, sel->w, sel->h, True); lt->arrange(); } |