[PATCH 8/9] exposay: Activate a surface when hovering it

Emilio Pozuelo Monfort pochu27 at gmail.com
Fri Nov 15 08:53:37 PST 2013


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 at collabora.co.uk>
---
 src/shell.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/shell.c b/src/shell.c
index accf4de..08d2627 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -5064,8 +5064,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;
 }
 
-- 
1.8.4.rc3



More information about the wayland-devel mailing list