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>
This commit is contained in:
parent
8224309f14
commit
5c22ce652d
|
@ -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…
Reference in New Issue