From: Seunghun Lee Date: Mon, 11 Jul 2016 10:36:59 +0000 (+0900) Subject: reset the flag of pending_show to prevent showing after finish the rotation. X-Git-Tag: submit/tizen/20160711.130639~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a415979854ce77e98c456b1016c81a453b178ad0;p=platform%2Fcore%2Fuifw%2Fe-mod-tizen-wl-textinput.git reset the flag of pending_show to prevent showing after finish the rotation. Directly set this value, since there is no way to tell it needs to be hidden to rotation module for now. Change-Id: I38a08ee4aa138f00347a324fbc139b5e7dd6b6ba --- diff --git a/src/e_mod_input_panel.c b/src/e_mod_input_panel.c index dee6dc4..1a8a454 100644 --- a/src/e_mod_input_panel.c +++ b/src/e_mod_input_panel.c @@ -271,6 +271,10 @@ _e_input_panel_surface_visible_update(E_Input_Panel_Surface *ips) WTI_LOG("IPS::DEFER_SHOW::HIDE"); ips->wait_update = EINA_FALSE; ec->visible = EINA_FALSE; + /* We have to reset the flag of pending_show to prevent showing after + * finish the rotation. Directly set this value, since there is no way + * to tell it needs to be hidden to rotation module for now. */ + ec->e.state.rot.pending_show = 0; evas_object_hide(ec->frame); } } @@ -777,4 +781,4 @@ e_input_panel_transient_for_set(E_Client *parent) } EC_CHANGED(child); } -} \ No newline at end of file +}