mirror of https://github.com/davatorium/rofi.git
Terminate rofi if switcher is not found
This commit is contained in:
parent
87461c7ec3
commit
e966fbe583
|
@ -569,6 +569,7 @@ static gboolean startup ( G_GNUC_UNUSED gpointer data )
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
fprintf ( stderr, "The %s switcher has not been enabled\n", sname );
|
fprintf ( stderr, "The %s switcher has not been enabled\n", sname );
|
||||||
|
g_main_loop_quit ( main_loop );
|
||||||
return G_SOURCE_REMOVE;
|
return G_SOURCE_REMOVE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue