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
introduced Layout struct
[dwm.git]
/
client.c
diff --git
a/client.c
b/client.c
index
4d4c0a8
..
48b4167
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-263,7
+263,7
@@
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 *
}
Client *
@@
-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->isfloat || (lt->arrange == dofloat)) {
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();
}
}