[hackers] [wmii] Fix focus delay for the default layout (again).

From: Kris Maglione <jg_AT_suckless.org>
Date: Sun Mar 04 03:59:26 2007

changeset: 1998:df43930b0aa8
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Sat Mar 03 21:57:15 2007 -0500
summary: Fix focus delay for the default layout (again).

diff -r 278171da62ae -r df43930b0aa8 client.c
--- a/client.c Sat Mar 03 21:33:43 2007 -0500
+++ b/client.c Sat Mar 03 21:57:15 2007 -0500
@@ -613,6 +613,10 @@ focus_client(Client *c) {
                 }else
                         XSetInputFocus(blz.dpy, screen->barwin, RevertToParent, CurrentTime);
         }
+
+ while(XCheckMaskEvent(blz.dpy, FocusChangeMask, &ev))
+ if(handler[ev.xany.type])
+ handler[ev.xany.type](&ev);
 }
 
 void
diff -r 278171da62ae -r df43930b0aa8 main.c
--- a/main.c Sat Mar 03 21:33:43 2007 -0500
+++ b/main.c Sat Mar 03 21:57:15 2007 -0500
@@ -248,7 +248,7 @@ void
 void
 check_9pcon(IXPConn *c) {
         serve_9pcon(c);
- check_x_event(c);
+ check_x_event(nil);
 }
 
 int
Received on Sun Mar 04 2007 - 03:59:26 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:56:09 UTC