mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-11 13:50:48 -05:00
Do not release keyboard when switching between switchers.
This commit is contained in:
parent
b21368c005
commit
f5c8c3a55d
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue