[DMenu] reset variable correctly so keep-selection is initially off.

fixes: #1686
This commit is contained in:
Dave Davenport 2022-08-24 15:10:06 +02:00
parent d4b77207dd
commit 0f097f2998
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ static DmenuScriptEntry *execute_executor(Mode *sw, char *arg,
*length = 0;
// Reset these between runs.
pd->new_selection = -1;
pd->keep_selection = -1;
pd->keep_selection = 0;
// Environment
char **env = g_get_environ();