Fixed the issue not to send the key event even if there is focus. 81/117981/1
authorWonkeun Oh <wonkeun.oh@samsung.com>
Wed, 8 Mar 2017 07:27:44 +0000 (16:27 +0900)
committerWonkeun Oh <wonkeun.oh@samsung.com>
Wed, 8 Mar 2017 07:55:53 +0000 (16:55 +0900)
commit878ac6a21671485c1b1e2785ab5f32b78097b297
treeaf077de7872a7c4430ffdfc32dc27219ff66a378
parent860c7314fe30fecff9fd50a5cba11feb29fbc2f6
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