ecore_imf/wayland: Only call hide_input_panel on im_context_hide().

There's no need to call it on text_input_leave too, otherwise this would
be called twice, the one from text_input_leave possibly being called
after the focus was regain already by a text input, causing the bug
described in T237.

This fixes T237.
This commit is contained in:
Rafael Antognolli 2013-12-09 14:21:29 -02:00
parent e163b3eef5
commit 15b5497dfa
1 changed files with 0 additions and 3 deletions

View File

@ -512,9 +512,6 @@ text_input_leave(void *data,
{
WaylandIMContext *imcontext = (WaylandIMContext *)data;
if (text_input)
wl_text_input_hide_input_panel(text_input);
/* clear preedit */
commit_preedit(imcontext);
clear_preedit(imcontext);