Make sure the hidden keyboard is located outside of display area 37/17637/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Fri, 27 Sep 2013 08:30:32 +0000 (17:30 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 7 Mar 2014 07:51:42 +0000 (16:51 +0900)
Change-Id: I70c2c9ef969efe1d1ffd4e0d554d62d1bb19452a

ism/extras/efl_panel/isf_panel_efl.cpp

index 2974a2d..685f084 100644 (file)
@@ -424,14 +424,14 @@ static struct rectinfo get_ise_geometry ()
             info.pos_x = (int)info.width > win_w ? 0 : (win_w - info.width) / 2;
             if (_panel_agent->get_current_toolbar_mode () == TOOLBAR_KEYBOARD_MODE) {
                 info.pos_x = 0;
-                info.pos_y = win_h;
+                info.pos_y = (win_h > win_w) ? win_h : win_w;
                 info.width = 0;
                 info.height = 0;
             } else {
                 if (_ise_state == WINDOW_STATE_SHOW) {
                     info.pos_y = win_h - info.height;
                 } else {
-                    info.pos_y = win_h;
+                    info.pos_y = (win_h > win_w) ? win_h : win_w;
                     info.width = 0;
                     info.height = 0;
                 }