tapplied anydots proposal to let togglefloating restore fixed windows - dwm - [… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit caa7ab536224b0bf4dcd2790a51ead6b7a6cf119 | |
parent f3e672efd8d3efb05f7e7dc48fd87f3929c18932 | |
Author: Anselm R. Garbe <[email protected]> | |
Date: Fri, 25 May 2007 15:28:10 +0200 | |
applied anydots proposal to let togglefloating restore fixed windows | |
Diffstat: | |
M client.c | 2 ++ | |
1 file changed, 2 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/client.c b/client.c | |
t@@ -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(); | |
} | |