1
0
mirror of git://git.suckless.org/dwm synced 2025-08-15 20:23:59 -07:00

Revert "Remove dmenumon variable"

This reverts commit c2b748e793.

Revert back this change. It seems to not be an edge-case anymore since
multiple users have asked about this new behaviour now.
This commit is contained in:
Hiltjo Posthuma
2022-10-28 16:37:56 +02:00
parent 50ad171eea
commit ba56fe9fea
2 changed files with 4 additions and 1 deletions

2
dwm.c
View File

@@ -1639,6 +1639,8 @@ sigchld(int unused)
void
spawn(const Arg *arg)
{
if (arg->v == dmenucmd)
dmenumon[0] = '0' + selmon->num;
if (fork() == 0) {
if (dpy)
close(ConnectionNumber(dpy));