applied Lukas' focus suggestion at startup, thanks

master
Anselm R Garbe 2013-08-27 20:39:21 +02:00
parent 6af273771c
commit cdec9782a1
1 changed files with 1 additions and 0 deletions

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