applied Lukas' focus suggestion at startup, thanks

This commit is contained in:
Anselm R Garbe 2013-08-27 20:39:21 +02:00
parent 6af273771c
commit cdec9782a1

1
dwm.c
View file

@ -1542,6 +1542,7 @@ setup(void) {
XChangeWindowAttributes(dpy, root, CWEventMask|CWCursor, &wa); XChangeWindowAttributes(dpy, root, CWEventMask|CWCursor, &wa);
XSelectInput(dpy, root, wa.event_mask); XSelectInput(dpy, root, wa.event_mask);
grabkeys(); grabkeys();
focus(NULL);
} }
void void