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

Quentin Glidic sardemff7+wayland at sardemff7.net
Tue Jun 4 01:39:04 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 e250b98..b8eba50 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