Parcourir la source

applied Lukas' focus suggestion at startup, thanks

Anselm R Garbe il y a 12 ans
Parent
commit
cdec9782a1
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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