mirror of
https://github.com/davatorium/rofi.git
synced 2025-02-10 15:44:41 -05:00
Test fix for issue #167
This commit is contained in:
parent
09e4a64780
commit
0e7009bcad
2 changed files with 14 additions and 6 deletions
|
@ -1304,6 +1304,14 @@ MenuReturn menu ( char **lines, unsigned int num_lines, char **input, char *prom
|
|||
} while ( XCheckTypedEvent ( display, KeyPress, &ev ) );
|
||||
}
|
||||
}
|
||||
// Wait for final release?
|
||||
{
|
||||
XEvent ev;
|
||||
do {
|
||||
XNextEvent ( display, &ev );
|
||||
} while ( ev.type != KeyRelease );
|
||||
}
|
||||
|
||||
|
||||
// Update input string.
|
||||
g_free ( *input );
|
||||
|
|
Loading…
Add table
Reference in a new issue