This simplifies the launching of the virtual keyboard a little bit and
removes a tricky race condition that can occur if the keyboard has just
died and the compositor is shutting down.

It's on top of pekka's http://patchwork.freedesktop.org/patch/52700/
and supersedes my http://patchwork.freedesktop.org/patch/52013/

My (rather nasty) trigger for the race is to edit tests/weston-ivi.ini and
replace the virtual keyboard name with something ENOENT, run a few
instances of yes > /dev/null & to simulate load (3 works reliably) and
then run make check - ivi-layout-internal-test will fail.

Derek Foreman (3):
  text: Launch input method in text_backend_init
  text: Don't track binding in struct text_backend
  text: Switch to weston_client_start instead of weston_client_launch

 src/text-backend.c | 60 ++++++++++++++++++++++++++++--------------------------
 1 file changed, 31 insertions(+), 29 deletions(-)

-- 
2.1.4

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to