Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
applied Lukas' focus suggestion at startup, thanks
[dwm.git]
/
dwm.c
diff --git
a/dwm.c
b/dwm.c
index
6f716e9
..
1bbb4b3
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-1542,6
+1542,7
@@
setup(void) {
XChangeWindowAttributes(dpy, root, CWEventMask|CWCursor, &wa);
XSelectInput(dpy, root, wa.event_mask);
grabkeys();
+ focus(NULL);
}
void