tapplied anydots proposal to let togglefloating restore fixed windows - dwm - [fork] customized build of dwm, the dynamic window manager
(HTM) git clone git://src.adamsgaard.dk/dwm
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit caa7ab536224b0bf4dcd2790a51ead6b7a6cf119
(DIR) parent f3e672efd8d3efb05f7e7dc48fd87f3929c18932
(HTM) Author: Anselm R. Garbe <arg@suckless.org>
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(-)
---
(DIR) 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();
}