summaryrefslogtreecommitdiffstats
path: root/source/view.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-01-19 19:12:28 +0100
committerDave Davenport <qball@gmpclient.org>2017-01-19 19:12:28 +0100
commitbe9ae4490ce0812f101ea180438b4c591e00d756 (patch)
tree46f7867705faa018e2c5437e1f3202dd17edfca5 /source/view.c
parent082547971027c6666c15c41ac07c6b3cf49885c9 (diff)
Don't release keyboard on FOCUS-out event.. for some reason we do not always get focus-in event
Diffstat (limited to 'source/view.c')
-rw-r--r--source/view.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source/view.c b/source/view.c
index d4385a84..9db61826 100644
--- a/source/view.c
+++ b/source/view.c
@@ -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 ) {