From: Inhong Han Date: Tue, 21 May 2024 05:22:28 +0000 (+0900) Subject: Add missing position reset code X-Git-Tag: accepted/tizen/unified/20240603.032300~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F78%2F311478%2F1;p=platform%2Fcore%2Fuifw%2Fe-mod-tizen-wl-textinput.git Add missing position reset code Change-Id: I0999b7d1c57115fed28711cecd66a1188271400f --- diff --git a/src/e_mod_input_panel.c b/src/e_mod_input_panel.c index 0d16cb5..8b12c61 100644 --- a/src/e_mod_input_panel.c +++ b/src/e_mod_input_panel.c @@ -1890,6 +1890,13 @@ void e_input_panel_floating_position_align_set(int x, int y, int align) void e_input_panel_floating_panel_move_resize(int x, int y, int w, int h) { LOGI("x : %d, y : %d, w : %d, h : %d", x, y, w, h); + + if (g_floating_info->align_position.x >= 0 || g_floating_info->align_position.y >= 0) + { + g_floating_info->align_position.x = -1; + g_floating_info->align_position.y = -1; + } + g_floating_info->new_width = w; g_floating_info->new_height = h; e_input_panel_floating_position_set(x, y);