diff options
author | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2014-02-10 16:52:33 +0100 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2014-02-18 14:07:08 -0800 |
commit | a75920190eee8a6c62c170d80c782783e54e660e (patch) | |
tree | 47e2537f0b0e81b235b2bb8840e0e4b814a2a7f0 /desktop-shell/exposay.c | |
parent | e818d59e8827933511a0611aff0e9605ecacfeeb (diff) | |
download | weston-a75920190eee8a6c62c170d80c782783e54e660e.tar.gz weston-a75920190eee8a6c62c170d80c782783e54e660e.tar.bz2 weston-a75920190eee8a6c62c170d80c782783e54e660e.zip |
exposay: avoid needlessly activating the active view
Signed-off-by: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Diffstat (limited to 'desktop-shell/exposay.c')
-rw-r--r-- | desktop-shell/exposay.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |