applied Lukas' focus suggestion at startup, thanks
authorAnselm R Garbe <anselm@garbe.us>
Tue, 27 Aug 2013 18:39:21 +0000 (20:39 +0200)
committerAnselm R Garbe <anselm@garbe.us>
Tue, 27 Aug 2013 18:39:21 +0000 (20:39 +0200)
dwm.c

diff --git a/dwm.c b/dwm.c
index 6f716e9..1bbb4b3 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -1542,6 +1542,7 @@ setup(void) {
        XChangeWindowAttributes(dpy, root, CWEventMask|CWCursor, &wa);
        XSelectInput(dpy, root, wa.event_mask);
        grabkeys();
+       focus(NULL);
 }
 
 void