diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-02-19 16:40:36 +0100 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-19 16:40:36 +0100 |
commit | cdbc84b9a87c427b3d0a202475b0f5aae315fb90 (patch) | |
tree | d0f12930c9aaafb84d359d263601e2136b61ac74 /client.c | |
parent | b2f895166af45b5d84abab90032bd3cc75391dc8 (diff) | |
download | dwm-cdbc84b9a87c427b3d0a202475b0f5aae315fb90.tar.gz |
introduced Layout struct
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client.c b/client.c index 4d4c0a8..48b4167 100644 --- a/client.c +++ b/client.c @@ -263,7 +263,7 @@ manage(Window w, XWindowAttributes *wa) { setclientstate(c, NormalState); if(isvisible(c)) focus(c); - arrange(); + lt->arrange(); } Client * @@ -430,7 +430,7 @@ unmanage(Client *c) { XSync(dpy, False); XSetErrorHandler(xerror); XUngrabServer(dpy); - arrange(); + lt->arrange(); } void @@ -440,7 +440,7 @@ zoom(Arg *arg) { if(!sel) return; - if(sel->isfloat || (arrange == dofloat)) { + if(sel->isfloat || (lt->arrange == dofloat)) { togglemax(sel); return; } @@ -452,5 +452,5 @@ zoom(Arg *arg) { detach(c); attach(c); focus(c); - arrange(); + lt->arrange(); } |