Fixed the issue not to send the key event even if there is focus.
authorWonkeun Oh <wonkeun.oh@samsung.com>
Wed, 8 Mar 2017 07:27:44 +0000 (16:27 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 8 Mar 2017 13:24:26 +0000 (22:24 +0900)
commit5c436edbb43b5d60c825a8fd7601fe2601abac90
tree693f8cd11e4256d86752452bb79562ebb47a4456
parentaca046a2a63428734e57c850aff0d45e9d809c87
Fixed the issue not to send the key event even if there is focus.

When the focus is set by _canvas_focus_in_cb, _focused_ctx is always null.
It makes key events not to be sent to wl_textinput module in the filter_key_event function.
It is much better to set the _focused_ctx value in the set_focus function if focus is successfully set

Change-Id: I7cec1e954035f18751ea38098b118f150fb9356f
ism/extras/wayland_immodule/wayland_imcontext.c