summaryrefslogtreecommitdiffstats
path: root/source/view.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-01-06 11:00:27 +0100
committerDave Davenport <qball@gmpclient.org>2017-01-06 11:00:27 +0100
commit051be0cfe6ae0ca2a81db7c772d0ac67e1c756eb (patch)
treed51c80bb6323ead3eb2f0d9b5dd1c1402171eb0b /source/view.c
parent129d96928a644005b51ed2661566712c7f02ed87 (diff)
Change keyboard grabbing behaviour, if you fail, continue running and try in background to get them.
Diffstat (limited to 'source/view.c')
-rw-r--r--source/view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/view.c b/source/view.c
index 70890ff8..9ff53a68 100644
--- a/source/view.c
+++ b/source/view.c
@@ -1266,7 +1266,7 @@ void rofi_view_itterrate ( RofiViewState *state, xcb_generic_event_t *ev, xkb_st
}
case XCB_FOCUS_IN:
if ( ( CacheState.flags & MENU_NORMAL_WINDOW ) == 0 ) {
- take_keyboard ( CacheState.main_window );
+ take_keyboard ( CacheState.main_window, 1);
}
break;
case XCB_FOCUS_OUT: