Wofi properly shuts down if its window is closed in normal window mode

This commit is contained in:
Scoopta 2020-03-09 14:27:07 -07:00
parent 107eb5dd94
commit e9cbf88be4

View File

@ -1483,6 +1483,7 @@ void wofi_init(struct map* _config) {
g_signal_connect(window, "key-press-event", G_CALLBACK(key_press), NULL);
g_signal_connect(window, "focus-in-event", G_CALLBACK(focus), NULL);
g_signal_connect(window, "focus-out-event", G_CALLBACK(focus), NULL);
g_signal_connect(window, "destroy", G_CALLBACK(do_exit), NULL);
gdk_threads_add_timeout(filter_rate, do_search, NULL);