1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

[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

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();