about summary refs log tree commit diff stats
path: root/client.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-19 16:40:36 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-19 16:40:36 +0100
commitcdbc84b9a87c427b3d0a202475b0f5aae315fb90 (patch)
treed0f12930c9aaafb84d359d263601e2136b61ac74 /client.c
parentb2f895166af45b5d84abab90032bd3cc75391dc8 (diff)
downloaddwm-cdbc84b9a87c427b3d0a202475b0f5aae315fb90.tar.gz
introduced Layout struct
Diffstat (limited to 'client.c')
-rw-r--r--client.c8
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();
 }