commit c07fee01c297e3cff300bfe58d1c222460d0fbd0
parent 8ad02afad2e5f9959c0fb26b02bca6fb9557854f
Author: Anselm R. Garbe <garbeam@wmii.de>
Date: Thu, 12 Jan 2006 19:11:15 +0200
definately another focus algorithm is necessary
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/cmd/wm/client.c b/cmd/wm/client.c
@@ -29,12 +29,14 @@ void
focus_client(Client * c)
{
Frame *f = 0;
+ /*
static Client *old = nil;
if(old && (old != c)) {
ungrab_client(old, AnyModifier, AnyButton);
grab_client(old, AnyModifier, AnyButton);
}
+ */
/* sel client */
ungrab_client(c, AnyModifier, AnyButton);
@@ -46,7 +48,9 @@ focus_client(Client * c)
XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime);
XSync(dpy, False);
invoke_wm_event(def[WM_EVENT_CLIENT_UPDATE]);
+ /*
old = c;
+ */
}
void