diff --git a/src/lightdm-webkit2-greeter.c b/src/lightdm-webkit2-greeter.c index cbc4f24..9204c59 100644 --- a/src/lightdm-webkit2-greeter.c +++ b/src/lightdm-webkit2-greeter.c @@ -215,6 +215,7 @@ main(int argc, char **argv) { textdomain (GETTEXT_PACKAGE); gtk_init(&argc, &argv); + g_unix_signal_add(SIGTERM, (GSourceFunc) quit_cb, /* is callback */ NULL); /* Apply greeter settings from config file */ keyfile = g_key_file_new();