[PATCH weston 5/8] headless-backend: Init fake pointer and keyboard
Hardening
rdp.effort at gmail.com
Fri May 17 13:40:28 PDT 2013
Le 17/05/2013 16:20, Quentin Glidic a écrit :
> 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);
From what i'm experimenting here, a seat is not required anymore once
you have applied eb1e130. On my branch i've removed the fake_seat from
the RDP compositor, and it starts correctly.
>
> c->base.destroy = headless_destroy;
> c->base.restore = headless_restore;
>
More information about the wayland-devel
mailing list