From 5c22ce652d2889dbe08faa0a3fb6a9e76aef5706 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Tue, 19 Nov 2013 11:37:18 +0100 Subject: [PATCH] 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 --- src/shell.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/shell.c b/src/shell.c index dae31a0d..09ff86cf 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; }