summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2021-03-02 17:20:59 +0100
committerDave Davenport <qball@gmpclient.org>2021-03-02 17:20:59 +0100
commiteb544b48bc09dba39cd338a0b3a7b61cbc7ba555 (patch)
treed9a54e9c5d81669ba615de1266a2b6cf43a989c5
parent91a71fd016e5493db88e5ab2840c84119803d04a (diff)
[Window] do not revert focus on window switch.
-rw-r--r--source/dialogs/window.c1
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 () );