Process key events only if the event source is not ime 28/112028/2
authorJi-hoon Lee <dalton.lee@samsung.com>
Wed, 25 Jan 2017 10:23:24 +0000 (19:23 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Wed, 25 Jan 2017 11:19:20 +0000 (03:19 -0800)
commitac6bb6b31cf338feb8e9ae53425ec230550d21f9
treeca61ab9b65538aaf2df71b962b8a9b6bfaefeb50
parent7f8b4d3c3a70adc119495adea3ad5241aa004a9a
Process key events only if the event source is not ime

In some profiles such as TV, the libscl-ui processes
key events in order to handle remote controller's
Arrows/Select keys. But since the remote controller's
Select key has the same key value with the Enter key,
the Enter key event that was generated by our IME,
could be interpreted as remote controller's Select key.
So, for preventing this case, we are not going to
let libscl-ui to process key events if the key event
was generated by ime itself.

Change-Id: Ia2719f552adebf1e40a42f19dec924c2f9bb3daf
src/ise.cpp