mirror of
https://github.com/lbonn/rofi
synced 2024-11-27 06:10:30 +00:00
Don't release keyboard on FOCUS-out event.. for some reason we do not always get focus-in event
This commit is contained in:
parent
0825479710
commit
be9ae4490c
1 changed files with 0 additions and 10 deletions
|
@ -1380,16 +1380,6 @@ void rofi_view_itterrate ( RofiViewState *state, xcb_generic_event_t *ev, xkb_st
|
|||
}
|
||||
break;
|
||||
}
|
||||
case XCB_FOCUS_IN:
|
||||
if ( ( CacheState.flags & MENU_NORMAL_WINDOW ) == 0 ) {
|
||||
take_keyboard ( CacheState.main_window, 1 );
|
||||
}
|
||||
break;
|
||||
case XCB_FOCUS_OUT:
|
||||
if ( ( CacheState.flags & MENU_NORMAL_WINDOW ) == 0 ) {
|
||||
release_keyboard ( );
|
||||
}
|
||||
break;
|
||||
case XCB_MOTION_NOTIFY:
|
||||
{
|
||||
if ( config.click_to_exit == TRUE ) {
|
||||
|
|
Loading…
Reference in a new issue