client: Queue events while the IBus context isn't ready
authorRui Matos <tiagomatos@gmail.com>
Wed, 9 Jan 2013 15:14:55 +0000 (10:14 -0500)
committerPeng Huang <shawn.p.huang@gmail.com>
Wed, 9 Jan 2013 15:14:55 +0000 (10:14 -0500)
commit62cd0492e3459416e1775aedc327bced53f66828
treeb1ac65777a06d2434138589ad159d76c249d2a4f
parent8ac534fc002356b93e2015a8866f1ea89e3895f9
client: Queue events while the IBus context isn't ready

There are actually 3 patches here.

---
client: Queue events while the IBus context isn't ready

We may lose events that ought to be processed while the IBus context
isn't ready or if the connection to IBus isn't fully established yet.

To avoid that, enqueue events to be processed later when the IBus
context creation finishes.

---
client: Don't cancel an ongoing create input context on another request

This would only add more delays.

---
client: Cancel any ongoing create input context request on finalize

BUG=

Review URL: https://codereview.appspot.com/6988047
Patch from Rui Matos <tiagomatos@gmail.com>.
client/gtk2/ibusimcontext.c