exposay: avoid needlessly activating the active view
Signed-off-by: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
This commit is contained in:
committed by
Kristian Høgsberg
parent
e818d59e88
commit
a75920190e
@@ -153,6 +153,9 @@ exposay_highlight_surface(struct desktop_shell *shell,
|
|||||||
{
|
{
|
||||||
struct weston_view *view = esurface->view;
|
struct weston_view *view = esurface->view;
|
||||||
|
|
||||||
|
if (shell->exposay.focus_current == view)
|
||||||
|
return;
|
||||||
|
|
||||||
shell->exposay.row_current = esurface->row;
|
shell->exposay.row_current = esurface->row;
|
||||||
shell->exposay.column_current = esurface->column;
|
shell->exposay.column_current = esurface->column;
|
||||||
shell->exposay.cur_output = esurface->eoutput;
|
shell->exposay.cur_output = esurface->eoutput;
|
||||||
|
|||||||
Reference in New Issue
Block a user