]> Pileus Git - wmpus/commitdiff
Setting focus at startup no longer needed
authorAndy Spencer <andy753421@gmail.com>
Fri, 7 Oct 2011 08:15:55 +0000 (08:15 +0000)
committerAndy Spencer <andy753421@gmail.com>
Fri, 7 Oct 2011 08:15:55 +0000 (08:15 +0000)
sys-x11.c

index 02e90a808a0ae675fe5314399f8bcd9e3f5937c4..77555a9cb05a309ec3531f2d36a0bd48f5837fad 100644 (file)
--- a/sys-x11.c
+++ b/sys-x11.c
@@ -563,7 +563,6 @@ win_t *sys_init(void)
 
        /* Select window management events */
        XSelectInput(dpy, xid, SubstructureRedirectMask|SubstructureNotifyMask);
-       XSetInputFocus(dpy, None, RevertToNone, CurrentTime);
        xerrorxlib = XSetErrorHandler(xerror);
 
        return win_find(dpy, xid, 1);