Wofi properly shuts down if its window is closed in normal window mode
This commit is contained in:
parent
107eb5dd94
commit
e9cbf88be4
@ -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, "key-press-event", G_CALLBACK(key_press), NULL);
|
||||||
g_signal_connect(window, "focus-in-event", G_CALLBACK(focus), 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, "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);
|
gdk_threads_add_timeout(filter_rate, do_search, NULL);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user