When IME is in floating mode, IME doesn't know the exact x, y coordinates.
Change-Id: I0c042f944401e9db934cc003a6429577e10a8de7
void e_input_panel_floating_drag_enabled(Eina_Bool enabled)
{
g_floating_info->moving_req = enabled;
+}
+
+Eina_Bool e_input_panel_floating_mode_get()
+{
+ E_Input_Panel_Surface *ips;
+ Eina_List *l;
+ Eina_List *l_next;
+ Eina_Bool ret = EINA_FALSE;
+
+ if (!g_input_panel) return ret;
+
+ EINA_LIST_FOREACH_SAFE(g_input_panel->surfaces, l, l_next, ips)
+ {
+ if (ips && ips->ec)
+ {
+ ret = ips->ec->vkbd.floating;
+ }
+ }
+
+ return ret;
}
\ No newline at end of file
return;
}
- if ((context->input) && (context->input->resource))
+ if ((context->input) && (context->input->resource) && !(e_input_panel_floating_mode_get()))
{
_e_text_input_send_input_panel_geometry(context->input->resource, x, y, width, height);
g_updated_geometry = EINA_TRUE;
int e_input_panel_is_effect_running(void);
void e_input_panel_floating_panel_set(Eina_Bool state);
void e_input_panel_floating_drag_enabled(Eina_Bool enabled);
+Eina_Bool e_input_panel_floating_mode_get(void);
typedef enum {
TIZEN_PROFILE_UNKNOWN = 0,