exposay: avoid needlessly activating the active view

Signed-off-by: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
This commit is contained in:
Emilio Pozuelo Monfort 2014-02-10 16:52:33 +01:00 committed by Kristian Høgsberg
parent e818d59e88
commit a75920190e

View file

@ -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;