exposay: Activate a surface when hovering it

This causes the surface to get the keyboard focus, which in turn
causes focus-animation to nicely work with exposay, making the
not focused surfaces to be dimmed.

Signed-off-by: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
dev
Emilio Pozuelo Monfort 11 years ago committed by Kristian Høgsberg
parent 8224309f14
commit 5c22ce652d
  1. 3
      src/shell.c

@ -5078,8 +5078,7 @@ exposay_highlight_surface(struct desktop_shell *shell,
view = esurface->view;
}
animate_focus_change(shell, shell->exposay.workspace,
shell->exposay.focus_current, view);
activate(shell, view->surface, shell->exposay.seat);
shell->exposay.focus_current = view;
}

Loading…
Cancel
Save