Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
renamed versatile into untiled
[dwm.git]
/
layout.c
diff --git
a/layout.c
b/layout.c
index
1e8f113
..
bb477d6
100644
(file)
--- a/
layout.c
+++ b/
layout.c
@@
-31,7
+31,7
@@
tile(void) {
if(c->isbanned)
XMoveWindow(dpy, c->win, c->x, c->y);
c->isbanned = False;
if(c->isbanned)
XMoveWindow(dpy, c->win, c->x, c->y);
c->isbanned = False;
- if(c->is
versatile
)
+ if(c->is
untiled
)
continue;
c->ismax = False;
nx = wax;
continue;
c->ismax = False;
nx = wax;
@@
-148,7
+148,7
@@
initlayouts(void) {
Client *
nexttiled(Client *c) {
Client *
nexttiled(Client *c) {
- for(; c && (c->is
versatile
|| !isvisible(c)); c = c->next);
+ for(; c && (c->is
untiled
|| !isvisible(c)); c = c->next);
return c;
}
return c;
}
@@
-160,10
+160,10
@@
restack(void) {
drawstatus();
if(!sel)
return;
drawstatus();
if(!sel)
return;
- if(sel->is
versatile || lt->arrange == versa
tile)
+ if(sel->is
untiled || lt->arrange == un
tile)
XRaiseWindow(dpy, sel->win);
XRaiseWindow(dpy, sel->win);
- if(lt->arrange !=
versa
tile) {
- if(!sel->is
versatile
)
+ if(lt->arrange !=
un
tile) {
+ if(!sel->is
untiled
)
XLowerWindow(dpy, sel->win);
for(c = nexttiled(clients); c; c = nexttiled(c->next)) {
if(c == sel)
XLowerWindow(dpy, sel->win);
for(c = nexttiled(clients); c; c = nexttiled(c->next)) {
if(c == sel)
@@
-202,7
+202,7
@@
void
togglemax(const char *arg) {
XEvent ev;
togglemax(const char *arg) {
XEvent ev;
- if(!sel || (lt->arrange !=
versatile && !sel->isversatile
) || sel->isfixed)
+ if(!sel || (lt->arrange !=
untile && !sel->isuntiled
) || sel->isfixed)
return;
if((sel->ismax = !sel->ismax)) {
sel->rx = sel->x;
return;
if((sel->ismax = !sel->ismax)) {
sel->rx = sel->x;
@@
-218,7
+218,7
@@
togglemax(const char *arg) {
}
void
}
void
-
versa
tile(void) {
+
un
tile(void) {
Client *c;
for(c = clients; c; c = c->next) {
Client *c;
for(c = clients; c; c = c->next) {
@@
-245,7
+245,7
@@
zoom(const char *arg) {
unsigned int n;
Client *c;
unsigned int n;
Client *c;
- if(!sel || lt->arrange != tile || sel->is
versatile
)
+ if(!sel || lt->arrange != tile || sel->is
untiled
)
return;
for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next))
n++;
return;
for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next))
n++;