[PATCH weston v2 7/7] headless-backend: Init fake pointer and keyboard

Quentin Glidic sardemff7+wayland at sardemff7.net
Fri Apr 26 06:16:06 PDT 2013


From: "U. Artie Eoff" <ullysses.a.eoff at intel.com>

Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net>
---
 src/compositor-headless.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/compositor-headless.c b/src/compositor-headless.c
index 4720329..507d4bf 100644
--- a/src/compositor-headless.c
+++ b/src/compositor-headless.c
@@ -173,6 +173,8 @@ headless_compositor_create(struct wl_display *display,
 		goto err_free;
 
 	weston_seat_init(&c->fake_seat, &c->base);
+	weston_seat_init_pointer(&c->fake_seat);
+	weston_seat_init_keyboard(&c->fake_seat, NULL);
 
 	c->base.destroy = headless_destroy;
 	c->base.restore = headless_restore;
-- 
1.8.2.1



More information about the wayland-devel mailing list