diff options
Diffstat (limited to '')
| -rw-r--r-- | dwm.c | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -1639,6 +1639,8 @@ sigchld(int unused) | |||
| 1639 | void | 1639 | void |
| 1640 | spawn(const Arg *arg) | 1640 | spawn(const Arg *arg) |
| 1641 | { | 1641 | { |
| 1642 | if (arg->v == dmenucmd) | ||
| 1643 | dmenumon[0] = '0' + selmon->num; | ||
| 1642 | if (fork() == 0) { | 1644 | if (fork() == 0) { |
| 1643 | if (dpy) | 1645 | if (dpy) |
| 1644 | close(ConnectionNumber(dpy)); | 1646 | close(ConnectionNumber(dpy)); |
