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:
committed by
Kristian Høgsberg
parent
8224309f14
commit
5c22ce652d
+1
-2
@@ -5078,8 +5078,7 @@ exposay_highlight_surface(struct desktop_shell *shell,
|
|||||||
view = esurface->view;
|
view = esurface->view;
|
||||||
}
|
}
|
||||||
|
|
||||||
animate_focus_change(shell, shell->exposay.workspace,
|
activate(shell, view->surface, shell->exposay.seat);
|
||||||
shell->exposay.focus_current, view);
|
|
||||||
shell->exposay.focus_current = view;
|
shell->exposay.focus_current = view;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user