text: Respawn input method process if it exits
authorEduardo Lima (Etrunko) <eduardo.lima@intel.com>
Tue, 14 May 2013 16:09:31 +0000 (13:09 -0300)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 14 May 2013 18:55:39 +0000 (14:55 -0400)
commit2733700bb48e05579c94c83501ecc89daa05aaaa
tree0b32c9baa49508b6650b049e5a4d2c83bdb77734
parenta50e6e4c500e3080b8df7ec14c7e42741477a423
text: Respawn input method process if it exits

Just the same as it is done in shell.c, if the input method process exits
for any reason, we relaunch it automatically, as it is not possible to
launch a standalone application outside of the weston process.

In v2:
 - Proper error message when giving up.

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
src/text-backend.c