Explorar el Código

applied Lukas' focus suggestion at startup, thanks

Anselm R Garbe hace 12 años
padre
commit
cdec9782a1
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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