mirror of
https://github.com/davatorium/rofi.git
synced 2025-02-03 15:34:54 -05:00
Another trow at #454
- Hide window, ungrab mouse. - Flush, before switching window.
This commit is contained in:
parent
642cad350d
commit
b420db8d30
1 changed files with 2 additions and 0 deletions
|
@ -1867,6 +1867,8 @@ void rofi_view_hide ( void )
|
||||||
{
|
{
|
||||||
if ( CacheState.main_window != XCB_WINDOW_NONE ) {
|
if ( CacheState.main_window != XCB_WINDOW_NONE ) {
|
||||||
xcb_unmap_window ( xcb->connection, CacheState.main_window );
|
xcb_unmap_window ( xcb->connection, CacheState.main_window );
|
||||||
|
release_keyboard ( );
|
||||||
|
xcb_flush ( xcb->connection );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue