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:
22fbcf7
)
compositor: Send ping to keyboard focus surface for key press
author
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 22 Jun 2012 20:57:21 +0000
(16:57 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 22 Jun 2012 20:57:21 +0000
(16:57 -0400)
We were sending to the pointer focus surface.
src/compositor.c
patch
|
blob
|
history
diff --git
a/src/compositor.c
b/src/compositor.c
index
eb795a2
..
a4ef26b
100644
(file)
--- a/
src/compositor.c
+++ b/
src/compositor.c
@@
-1849,7
+1849,7
@@
notify_key(struct wl_seat *seat, uint32_t time, uint32_t key,
struct weston_seat *ws = (struct weston_seat *) seat;
struct weston_compositor *compositor = ws->compositor;
struct weston_surface *focus =
- (struct weston_surface *) seat->
pointer
->focus;
+ (struct weston_surface *) seat->
keyboard
->focus;
struct wl_keyboard_grab *grab = seat->keyboard->grab;
uint32_t serial = wl_display_next_serial(compositor->wl_display);
uint32_t *k, *end;