mirror of
https://git.suckless.org/dwm
synced 2024-12-27 03:16:32 +00:00
applied Lukas' focus suggestion at startup, thanks
This commit is contained in:
parent
6af273771c
commit
cdec9782a1
1 changed files with 1 additions and 0 deletions
1
dwm.c
1
dwm.c
|
@ -1542,6 +1542,7 @@ setup(void) {
|
||||||
XChangeWindowAttributes(dpy, root, CWEventMask|CWCursor, &wa);
|
XChangeWindowAttributes(dpy, root, CWEventMask|CWCursor, &wa);
|
||||||
XSelectInput(dpy, root, wa.event_mask);
|
XSelectInput(dpy, root, wa.event_mask);
|
||||||
grabkeys();
|
grabkeys();
|
||||||
|
focus(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue