mirror of
https://github.com/davatorium/rofi.git
synced 2025-02-10 15:44:41 -05:00
Do an extra log before calling unmap and destroy window
This commit is contained in:
parent
606f4e89c5
commit
5c42f7f626
1 changed files with 2 additions and 0 deletions
|
@ -1739,6 +1739,7 @@ void rofi_view_cleanup ()
|
|||
CacheState.edit_surf = NULL;
|
||||
}
|
||||
if ( CacheState.main_window != XCB_WINDOW_NONE ) {
|
||||
g_log ( LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "Unmapping and free'ing window");
|
||||
xcb_unmap_window ( xcb->connection, CacheState.main_window );
|
||||
xcb_free_gc ( xcb->connection, CacheState.gc );
|
||||
xcb_free_pixmap ( xcb->connection, CacheState.edit_pixmap );
|
||||
|
@ -1749,6 +1750,7 @@ void rofi_view_cleanup ()
|
|||
xcb_free_colormap ( xcb->connection, map );
|
||||
map = XCB_COLORMAP_NONE;
|
||||
}
|
||||
xcb_flush ( xcb->connection );
|
||||
g_assert ( g_queue_is_empty ( &( CacheState.views ) ) );
|
||||
}
|
||||
void rofi_view_workers_initialize ( void )
|
||||
|
|
Loading…
Add table
Reference in a new issue