projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3e672e
)
applied anydots proposal to let togglefloating restore fixed windows
author
Anselm R. Garbe
<arg@suckless.org>
Fri, 25 May 2007 13:28:10 +0000
(15:28 +0200)
committer
Anselm R. Garbe
<arg@suckless.org>
Fri, 25 May 2007 13:28:10 +0000
(15:28 +0200)
client.c
patch
|
blob
|
history
diff --git
a/client.c
b/client.c
index cf3a686ca3cc377fd79aa99cc14bc2426ef8cb13..040dd15fc9d0419d9baf1ef3563701bafda95947 100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-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();
}