mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-11 13:50:48 -05:00
parent
dee9c526d3
commit
b03c072aaa
1 changed files with 4 additions and 0 deletions
|
@ -1089,7 +1089,9 @@ static void main_loop_x11_event_handler_view(xcb_generic_event_t *event) {
|
|||
case XCB_DESTROY_NOTIFY: {
|
||||
xcb_window_t win = ((xcb_destroy_notify_event_t *)event)->window;
|
||||
if (win != rofi_view_get_window()) {
|
||||
#ifdef WINDOW_MODE
|
||||
window_client_handle_signal(win, FALSE);
|
||||
#endif
|
||||
} else {
|
||||
g_main_loop_quit(xcb->main_loop);
|
||||
}
|
||||
|
@ -1098,7 +1100,9 @@ static void main_loop_x11_event_handler_view(xcb_generic_event_t *event) {
|
|||
case XCB_CREATE_NOTIFY: {
|
||||
xcb_window_t win = ((xcb_create_notify_event_t *)event)->window;
|
||||
if (win != rofi_view_get_window()) {
|
||||
#ifdef WINDOW_MODE
|
||||
window_client_handle_signal(win, TRUE);
|
||||
#endif
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue