Browse Source

applied Lukas' focus suggestion at startup, thanks

Anselm R Garbe 12 years ago
parent
commit
cdec9782a1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      dwm.c

+ 1 - 0
dwm.c

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