aboutsummaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R Garbe <anselm@garbe.us>2013-08-27 20:39:21 +0200
committerAnselm R Garbe <anselm@garbe.us>2013-08-27 20:39:21 +0200
commitcdec9782a1789bd5c3a84772fd59abb9da288597 (patch)
treebb9bbe9cb4f304bb0b57629cbbfdd10c6be05896 /dwm.c
parent6af273771cb0e28e4394c78ab0322f77025a57f3 (diff)
downloaddwm-cdec9782a1789bd5c3a84772fd59abb9da288597.tar.gz
dwm-cdec9782a1789bd5c3a84772fd59abb9da288597.tar.bz2
dwm-cdec9782a1789bd5c3a84772fd59abb9da288597.zip
applied Lukas' focus suggestion at startup, thanks
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dwm.c b/dwm.c
index 6f716e9..1bbb4b3 100644
--- 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