]> Pileus Git - wmpus/blobdiff - sys-x11.c
Setting focus at startup no longer needed
[wmpus] / 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);