From a75920190eee8a6c62c170d80c782783e54e660e Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Mon, 10 Feb 2014 16:52:33 +0100 Subject: [PATCH] exposay: avoid needlessly activating the active view Signed-off-by: Emilio Pozuelo Monfort --- desktop-shell/exposay.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/desktop-shell/exposay.c b/desktop-shell/exposay.c index ca363589..9c649e77 100644 --- a/desktop-shell/exposay.c +++ b/desktop-shell/exposay.c @@ -153,6 +153,9 @@ exposay_highlight_surface(struct desktop_shell *shell, { struct weston_view *view = esurface->view; + if (shell->exposay.focus_current == view) + return; + shell->exposay.row_current = esurface->row; shell->exposay.column_current = esurface->column; shell->exposay.cur_output = esurface->eoutput;