summaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwm.c b/dwm.c
index 314adf4..6f716e9 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1569,6 +1569,8 @@ sigchld(int unused) {
1569 1569
1570void 1570void
1571spawn(const Arg *arg) { 1571spawn(const Arg *arg) {
1572 if(arg->v == dmenucmd)
1573 dmenumon[0] = '0' + selmon->num;
1572 if(fork() == 0) { 1574 if(fork() == 0) {
1573 if(dpy) 1575 if(dpy)
1574 close(ConnectionNumber(dpy)); 1576 close(ConnectionNumber(dpy));