From f5c8c3a55d8cb21228b8b7833bc1c96b57921340 Mon Sep 17 00:00:00 2001 From: QC Date: Fri, 27 Mar 2015 20:33:25 +0100 Subject: [PATCH] Do not release keyboard when switching between switchers. --- source/rofi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/rofi.c b/source/rofi.c index c0b936b9..5667ccee 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -1263,7 +1263,6 @@ MenuReturn menu ( char **lines, unsigned int num_lines, char **input, char *prom } } - release_keyboard ( display ); // Update input string. g_free ( *input ); *input = g_strdup ( state.text->text ); @@ -1522,6 +1521,7 @@ static void cleanup () // Cleanup if ( display != NULL ) { if ( main_window != None ) { + release_keyboard ( display ); XFreeGC ( display, gc ); XDestroyWindow ( display, main_window ); XCloseDisplay ( display );