Fix wrong candidate angle affects the geometry of ISE 65/17465/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 12 Jul 2013 04:39:30 +0000 (13:39 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 7 Mar 2014 01:59:22 +0000 (10:59 +0900)
Change-Id: I8cf5e326db74ff17a98f8bdde23374e63c37c758

ism/extras/efl_panel/isf_panel_efl.cpp

index 91c8701..a177abd 100644 (file)
@@ -368,7 +368,10 @@ static void get_ise_geometry (RECT_INFO &info, VIRTUAL_KEYBOARD_STATE kbd_state)
     SCIM_DEBUG_MAIN (3) << __FUNCTION__ << "...\n";
 
     int win_w = _screen_width, win_h = _screen_height;
-    int angle = _candidate_angle;
+    int angle = efl_get_angle_for_app_window ();
+    if (_candidate_angle != angle)
+        _candidate_angle = angle;
+
     if (angle == 90 || angle == 270) {
         win_w = _screen_height;
         win_h = _screen_width;