Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
renamed untiled into floating, keeping tiled instead of tiling (afaik tiled sounds...
[dwm.git]
/
client.c
diff --git
a/client.c
b/client.c
index
4ba15c4
..
d180278
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-203,8
+203,8
@@
manage(Window w, XWindowAttributes *wa) {
updatetitle(c);
for(t = clients; t && t->win != trans; t = t->next);
settags(c, t);
updatetitle(c);
for(t = clients; t && t->win != trans; t = t->next);
settags(c, t);
- if(!c->is
untiled
)
- c->is
untiled
= (t != NULL) || c->isfixed;
+ if(!c->is
floating
)
+ c->is
floating
= (t != NULL) || c->isfixed;
attach(c);
attachstack(c);
c->isbanned = True;
attach(c);
attachstack(c);
c->isbanned = True;
@@
-285,10
+285,10
@@
resize(Client *c, int x, int y, int w, int h, Bool sizehints) {
}
void
}
void
-toggle
tiled
(const char *arg) {
- if(!sel || lt->arrange ==
untile
)
+toggle
floating
(const char *arg) {
+ if(!sel || lt->arrange ==
floating
)
return;
return;
- sel->is
untiled = !sel->isuntiled
;
+ sel->is
floating = !sel->isfloating
;
lt->arrange();
}
lt->arrange();
}