reset the flag of pending_show to prevent showing after finish the rotation. 47/79447/1
authorSeunghun Lee <shiin.lee@samsung.com>
Mon, 11 Jul 2016 10:36:59 +0000 (19:36 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Mon, 11 Jul 2016 10:36:59 +0000 (19:36 +0900)
Directly set this value, since there is no way to tell it needs to be hidden to
rotation module for now.

Change-Id: I38a08ee4aa138f00347a324fbc139b5e7dd6b6ba

src/e_mod_input_panel.c

index dee6dc4..1a8a454 100644 (file)
@@ -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
+}