diff options
author | Dave Davenport <qball@gmpclient.org> | 2021-03-02 17:20:59 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2021-03-02 17:20:59 +0100 |
commit | eb544b48bc09dba39cd338a0b3a7b61cbc7ba555 (patch) | |
tree | d9a54e9c5d81669ba615de1266a2b6cf43a989c5 | |
parent | 91a71fd016e5493db88e5ab2840c84119803d04a (diff) |
[Window] do not revert focus on window switch.
-rw-r--r-- | source/dialogs/window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/dialogs/window.c b/source/dialogs/window.c index 56cc7f5b..c3e9edc0 100644 --- a/source/dialogs/window.c +++ b/source/dialogs/window.c @@ -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 () ); |