Modified to synchronize the state of the input panel and vconf value 66/219466/2
authorInHong Han <inhong1.han@samsung.com>
Thu, 5 Dec 2019 06:20:01 +0000 (15:20 +0900)
committerInHong Han <inhong1.han@samsung.com>
Thu, 5 Dec 2019 07:12:57 +0000 (16:12 +0900)
Change-Id: Ib2646616f8474fb81cb156d9ea306f1806ba5801

src/e_mod_input_panel.c

index 3970d87..c64bbfb 100644 (file)
@@ -1,6 +1,8 @@
 #define E_COMP_WL
 #include "e.h"
 #include "e_mod_main.h"
+#include <vconf.h>
+#include <vconf-keys.h>
 #include <input-method-server-protocol.h>
 
 #define WTI_WARNING(resource, code, msg)     (_e_input_panel_log_show((resource), (code), (msg), __func__))
@@ -1230,6 +1232,8 @@ e_input_panel_visibility_change(Eina_Bool visible)
 
    LOGD("e_input_panel_visibility_change : %d", visible);
 
+   vconf_set_int (VCONFKEY_ISF_INPUT_PANEL_STATE, visible ? VCONFKEY_ISF_INPUT_PANEL_STATE_SHOW : VCONFKEY_ISF_INPUT_PANEL_STATE_HIDE);
+
    EINA_LIST_FOREACH(g_input_panel->surfaces, l, ips)
      {
         if (!ips->ec) continue;