antognolli pushed a commit to branch efl-1.8.

http://git.enlightenment.org/core/efl.git/commit/?id=1808adbe7a1693a642915c7760850607978a3709

commit 1808adbe7a1693a642915c7760850607978a3709
Author: Rafael Antognolli <rafael.antogno...@intel.com>
Date:   Mon Dec 9 14:21:29 2013 -0200

    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.
---
 src/modules/ecore_imf/wayland/wayland_imcontext.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/modules/ecore_imf/wayland/wayland_imcontext.c 
b/src/modules/ecore_imf/wayland/wayland_imcontext.c
index 6e301c9..6e28cee 100644
--- a/src/modules/ecore_imf/wayland/wayland_imcontext.c
+++ b/src/modules/ecore_imf/wayland/wayland_imcontext.c
@@ -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);

-- 


Reply via email to