From: Emilio Pozuelo Monfort Date: Tue, 19 Nov 2013 10:37:18 +0000 (+0100) Subject: exposay: Activate a surface when hovering it X-Git-Tag: upstream/0.1.8~726 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c22ce652d2889dbe08faa0a3fb6a9e76aef5706;p=profile%2Fivi%2Fweston-ivi-shell.git 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 --- 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; }