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

Emilio Pozuelo Monfort pochu27 at gmail.com
Tue Nov 19 02:37:18 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 dae31a0..09ff86c 100644
--- a/src/shell.c
+++ b/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;
 }
 
-- 
1.8.4.rc3



More information about the wayland-devel mailing list