summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Glidic <sardemff7+git@sardemff7.net>2020-12-20 14:11:56 +0100
committerQuentin Glidic <sardemff7+git@sardemff7.net>2020-12-20 14:11:56 +0100
commit2e1813366720cc5e59a9454a544f3af71b70dcae (patch)
treec0025ce26ce4645bbec4dfd8ad938e3f9eec0d9e
parent11b677b521140cd7d7451c54f48cd6c2d9c9bf4a (diff)
xcb: Restore focus in more places
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
-rw-r--r--source/view.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/view.c b/source/view.c
index 5e266405..34e70998 100644
--- a/source/view.c
+++ b/source/view.c
@@ -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 );