mirror of https://github.com/davatorium/rofi.git
[DMenu] reset variable correctly so keep-selection is initially off.
fixes: #1686
This commit is contained in:
parent
d4b77207dd
commit
0f097f2998
|
@ -165,7 +165,7 @@ static DmenuScriptEntry *execute_executor(Mode *sw, char *arg,
|
||||||
*length = 0;
|
*length = 0;
|
||||||
// Reset these between runs.
|
// Reset these between runs.
|
||||||
pd->new_selection = -1;
|
pd->new_selection = -1;
|
||||||
pd->keep_selection = -1;
|
pd->keep_selection = 0;
|
||||||
// Environment
|
// Environment
|
||||||
char **env = g_get_environ();
|
char **env = g_get_environ();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue