summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-06-07 09:58:48 +0200
committerDave Davenport <qball@gmpclient.org>2016-06-07 09:58:48 +0200
commite966fbe58369498eea87c9a634a170316c3e8f7d (patch)
tree4652dacca8f6a84e24b76bbd1fed225b8641407b
parent87461c7ec327da9f3cd9e4e443bbb5f4930d8241 (diff)
Terminate rofi if switcher is not found
-rw-r--r--source/rofi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/rofi.c b/source/rofi.c
index 4df57c43..02eef1fd 100644
--- a/source/rofi.c
+++ b/source/rofi.c
@@ -569,6 +569,7 @@ static gboolean startup ( G_GNUC_UNUSED gpointer data )
}
else {
fprintf ( stderr, "The %s switcher has not been enabled\n", sname );
+ g_main_loop_quit ( main_loop );
return G_SOURCE_REMOVE;
}
}