From: InHong Han Date: Tue, 10 Mar 2020 09:17:41 +0000 (+0900) Subject: Set the vconf value to send the IME geometry X-Git-Tag: submit/tizen_5.5/20200320.090524~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F07%2F227207%2F1;p=platform%2Fcore%2Fuifw%2Flibscl-core.git Set the vconf value to send the IME geometry Change-Id: I318385aaa76a56572d2ef544587de5dde285a1a5 --- diff --git a/src/sclcoreui-efl.cpp b/src/sclcoreui-efl.cpp index 4b7d97b..1fc26e0 100644 --- a/src/sclcoreui-efl.cpp +++ b/src/sclcoreui-efl.cpp @@ -168,6 +168,13 @@ void CSCLCoreUIEFL::update_keyboard_geometry(SclSize portrait, SclSize landscape Evas_Coord win_w = 0, win_h = 0; elm_win_screen_size_get(main_window, NULL, NULL, &win_w, &win_h); int degree = elm_win_rotation_get(main_window); + char geometry[128]; + + snprintf(geometry, sizeof(geometry), "%d,%d,%d,%d", (win_w - portrait.width) / 2, win_h - portrait.height, portrait.width, portrait.height); + vconf_set_str(VCONFKEY_ISF_INPUT_PANEL_PORT_GEOMETRY, geometry); + snprintf(geometry, sizeof(geometry), "%d,%d,%d,%d", (win_h - landscape.width) / 2, win_w - landscape.height, landscape.width, landscape.height); + vconf_set_str(VCONFKEY_ISF_INPUT_PANEL_LAND_GEOMETRY, geometry); + CSCLCoreImpl *impl = CSCLCoreImpl::get_instance(); if (impl) { if (degree == 0 || degree == 180)