Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
applied Sanders patch
[dwm.git]
/
client.c
diff --git
a/client.c
b/client.c
index
040dd15
..
f3d31cb
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-305,8
+305,8
@@
togglefloating(const char *arg) {
if(!sel || lt->arrange == floating)
return;
sel->isfloating = !sel->isfloating;
if(!sel || lt->arrange == floating)
return;
sel->isfloating = !sel->isfloating;
- if(sel->isfloating
&& sel->isfixed
)
- resize(sel, sel->x, sel->y, sel->
minw, sel->min
h, True);
+ if(sel->isfloating)
+ resize(sel, sel->x, sel->y, sel->
w, sel->
h, True);
lt->arrange();
}
lt->arrange();
}