[PATCH weston 5/8] headless-backend: Init fake pointer and keyboard

Quentin Glidic sardemff7+wayland at sardemff7.net
Fri May 17 07:20:41 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 0df0f7d..3776031 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.3



More information about the wayland-devel mailing list