summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-05-28 15:05:47 +0200
committerAnselm R. Garbe <arg@suckless.org>2007-05-28 15:05:47 +0200
commit492c6f10fcf9acf74d84eb3fe005ecf2dd42611a (patch)
tree1a2bca5a3c60c246a5978f00649bc7b0a5aeb9d1
parentapplied anydots proposal to let togglefloating restore fixed windows (diff)
downloaddwm-492c6f10fcf9acf74d84eb3fe005ecf2dd42611a.tar.gz
dwm-492c6f10fcf9acf74d84eb3fe005ecf2dd42611a.zip
applied Sanders patch
-rw-r--r--client.c4
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) {
305 if(!sel || lt->arrange == floating) 305 if(!sel || lt->arrange == floating)
306 return; 306 return;
307 sel->isfloating = !sel->isfloating; 307 sel->isfloating = !sel->isfloating;
308 if(sel->isfloating && sel->isfixed) 308 if(sel->isfloating)
309 resize(sel, sel->x, sel->y, sel->minw, sel->minh, True); 309 resize(sel, sel->x, sel->y, sel->w, sel->h, True);
310 lt->arrange(); 310 lt->arrange();
311} 311}
312 312