Modified not to send invalid IME geometry 95/271495/1
authorInHong Han <inhong1.han@samsung.com>
Tue, 22 Feb 2022 05:39:40 +0000 (14:39 +0900)
committerInHong Han <inhong1.han@samsung.com>
Tue, 22 Feb 2022 05:50:18 +0000 (05:50 +0000)
Change-Id: I71f57c62027bccf48df869d4397eeff7b24c8af6

src/e_mod_input_panel.c

index 8508add..c4f6b91 100644 (file)
@@ -895,10 +895,13 @@ _e_ips_cb_mouse_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED
      return;
 
    g_floating_info->mouse_pressed = EINA_FALSE;
-   g_floating_info->moving_req = EINA_FALSE;
 
-   LOGI("[Mouse up] Send input panel geometry");
-   e_text_input_update_input_panel_geometry(ec);
+   if (g_floating_info->moving_req)
+     {
+        LOGI("[Mouse up] Send input panel geometry");
+        e_text_input_update_input_panel_geometry(ec);
+        g_floating_info->moving_req = EINA_FALSE;
+     }
 }
 
 static void