mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-11 13:50:48 -05:00
xcb: Restore focus in more places
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
parent
84b83ef9cc
commit
de9e40b904
1 changed files with 1 additions and 0 deletions
|
@ -1984,6 +1984,7 @@ void rofi_view_cleanup ()
|
|||
if ( CacheState.main_window != XCB_WINDOW_NONE ) {
|
||||
g_debug ( "Unmapping and free'ing window" );
|
||||
xcb_unmap_window ( xcb->connection, CacheState.main_window );
|
||||
rofi_xcb_revert_input_focus();
|
||||
xcb_free_gc ( xcb->connection, CacheState.gc );
|
||||
xcb_free_pixmap ( xcb->connection, CacheState.edit_pixmap );
|
||||
xcb_destroy_window ( xcb->connection, CacheState.main_window );
|
||||
|
|
Loading…
Reference in a new issue