summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2020-12-10 21:06:08 +0100
committerDave Davenport <qball@gmpclient.org>2020-12-10 21:06:08 +0100
commit0eb3abd657509d59e7783d32a5bce95808a3d359 (patch)
tree4ec258b23d4d7e6da44deebc1630d1c59a44eeca
parentc0f9c633d465cb9d661bb604ef1ab61cf98c310b (diff)
parentec858dd305ef843e45998860f67af8524dc42fef (diff)
Merge remote-tracking branch 'origin/next' into deprecate
-rw-r--r--source/view.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source/view.c b/source/view.c
index 981e4b3d..3a0475b9 100644
--- a/source/view.c
+++ b/source/view.c
@@ -1857,13 +1857,6 @@ RofiViewState *rofi_view_create ( Mode *sw,
xcb_map_window ( xcb->connection, CacheState.main_window );
widget_queue_redraw ( WIDGET ( state->main_window ) );
xcb_flush ( xcb->connection );
-
- /* When Override Redirect, the WM will not let us know we can take focus, so just steal it */
- if ( ( ( menu_flags & MENU_NORMAL_WINDOW ) == 0 ) ) {
- xcb_set_input_focus ( xcb->connection, XCB_INPUT_FOCUS_NONE, CacheState.main_window, XCB_CURRENT_TIME );
- xcb_flush ( xcb->connection );
- }
-
if ( xcb->sncontext != NULL ) {
sn_launchee_context_complete ( xcb->sncontext );
}