projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8224309
)
exposay: Activate a surface when hovering it
author
Emilio Pozuelo Monfort
<pochu27@gmail.com>
Tue, 19 Nov 2013 10:37:18 +0000
(11:37 +0100)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 19 Nov 2013 19:51:44 +0000
(11:51 -0800)
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@collabora.co.uk>
src/shell.c
patch
|
blob
|
history
diff --git
a/src/shell.c
b/src/shell.c
index
dae31a0
..
09ff86c
100644
(file)
--- 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;
}