From cdbc84b9a87c427b3d0a202475b0f5aae315fb90 Mon Sep 17 00:00:00 2001 From: Anselm R. Garbe Date: Mon, 19 Feb 2007 16:40:36 +0100 Subject: introduced Layout struct --- client.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'client.c') 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(); } -- cgit v1.2.3