exposay: avoid needlessly activating the active view

Signed-off-by: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
dev
Emilio Pozuelo Monfort 11 years ago committed by Kristian Høgsberg
parent e818d59e88
commit a75920190e
  1. 3
      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;

Loading…
Cancel
Save