Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
renamed floating into swimming (this does not clash with C naming conventions and...
[dwm.git]
/
client.c
diff --git
a/client.c
b/client.c
index
4d4c0a8
..
e312a9a
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-253,8
+253,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->isfloat)
- c->isfloat = (t != NULL) || c->isfixed;
+ if(!c->swimming)
+ c->swimming = (t != NULL) || c->isfixed;
attach(c);
attachstack(c);
c->isbanned = True;
attach(c);
attachstack(c);
c->isbanned = True;
@@
-263,12
+263,12
@@
manage(Window w, XWindowAttributes *wa) {
setclientstate(c, NormalState);
if(isvisible(c))
focus(c);
setclientstate(c, NormalState);
if(isvisible(c))
focus(c);
- arrange();
+ lt->arrange();
}
Client *
nexttiled(Client *c) {
}
Client *
nexttiled(Client *c) {
- for(; c && (c->isfloat || !isvisible(c)); c = c->next);
+ for(; c && (c->swimming || !isvisible(c)); c = c->next);
return c;
}
return c;
}
@@
-430,7
+430,7
@@
unmanage(Client *c) {
XSync(dpy, False);
XSetErrorHandler(xerror);
XUngrabServer(dpy);
XSync(dpy, False);
XSetErrorHandler(xerror);
XUngrabServer(dpy);
- arrange();
+ lt->arrange();
}
void
}
void
@@
-440,7
+440,7
@@
zoom(Arg *arg) {
if(!sel)
return;
if(!sel)
return;
- if(sel->isfloat || (arrange == dofloat)) {
+ if(sel->swimming || (lt->arrange == swim)) {
togglemax(sel);
return;
}
togglemax(sel);
return;
}
@@
-452,5
+452,5
@@
zoom(Arg *arg) {
detach(c);
attach(c);
focus(c);
detach(c);
attach(c);
focus(c);
- arrange();
+ lt->arrange();
}
}