[Window] do not revert focus on window switch.

This commit is contained in:
Dave Davenport 2021-03-02 17:20:59 +01:00
parent 91a71fd016
commit eb544b48bc
1 changed files with 1 additions and 0 deletions

View File

@ -687,6 +687,7 @@ static ModeMode window_mode_result ( Mode *sw, int mretv, G_GNUC_UNUSED char **i
}
}
// Activate the window
xcb->focus_revert = 0;
xcb_ewmh_request_change_active_window ( &xcb->ewmh, xcb->screen_nbr, rmpd->ids->array[selected_line],
XCB_EWMH_CLIENT_SOURCE_TYPE_OTHER,
XCB_CURRENT_TIME, rofi_view_get_window () );