Fix the issue the position of floating IME is reset when changing keyboard mode 59/306659/2
authorInhong Han <inhong1.han@samsung.com>
Thu, 22 Feb 2024 07:56:40 +0000 (16:56 +0900)
committerInhong Han <inhong1.han@samsung.com>
Mon, 26 Feb 2024 06:47:37 +0000 (15:47 +0900)
Change-Id: I460d4c6f171a59899bbbd0582fe6eea86c81fd48

ism/extras/wayland_immodule/wayland_imcontext.c

index 883a353..94bef64 100644 (file)
@@ -1611,6 +1611,8 @@ set_focus_out(Ecore_IMF_Context *ctx)
     if (ctx == _focused_ctx)
         _focused_ctx = NULL;
 
+    imcontext->input_panel_position.x = -1;
+    imcontext->input_panel_position.y = -1;
     imcontext->input = NULL;
     _preedit_cursor_changed = EINA_FALSE;
     g_filter_event_elapsed_time = 0.0;