compositor-wayland: Delay seat creation
authorDaniel Stone <daniel@fooishbar.org>
Mon, 4 Jun 2012 10:40:46 +0000 (11:40 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 4 Jun 2012 15:01:39 +0000 (11:01 -0400)
commita497d57619db0d1f82da938c74e856fe9780eecb
treed77e89c212629fa5510cf9cfef76501afd925780
parent670b5d343ddac18eb28b290f2af47bf8c71141c3
compositor-wayland: Delay seat creation

We'll get a rash of seats added when we run our first wl_display_iterate
across the parent display, but won't actually be ready to create them.
Create a new global listener on our parent display for wl_seats only,
and run that from wayland_input_create.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/compositor-wayland.c