changeset: 902:e1ca8a59820a
tag: tip
user: Anselm R. Garbe <arg_AT_suckless.org>
date: Fri May 25 15:28:10 2007 +0200
summary: applied anydots proposal to let togglefloating restore fixed windows
diff -r 8f6f61e07567 -r e1ca8a59820a client.c
--- a/client.c Thu May 24 16:25:09 2007 +0200
+++ b/client.c Fri May 25 15:28:10 2007 +0200
@@ -305,6 +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);
lt->arrange();
}
Received on Fri May 25 2007 - 15:31:07 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:56:50 UTC