Do not move candidate window if ISE and candidate window are both in WILL_HIDE state 74/17574/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Mon, 16 Sep 2013 08:26:51 +0000 (17:26 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 7 Mar 2014 02:32:29 +0000 (11:32 +0900)
Change-Id: I49b2d67af745083139d189d8e99480fe09a5c936

ism/extras/efl_panel/isf_panel_efl.cpp

index 84aa804..c77608d 100644 (file)
@@ -2028,6 +2028,11 @@ static void ui_settle_candidate_window (void)
     if (!_candidate_window)
         return;
 
+    /* If both ISE and candidate window are going to be hidden,
+       let's just not move our candidate window */
+    if (_ise_state == WINDOW_STATE_WILL_HIDE && _candidate_state == WINDOW_STATE_WILL_HIDE)
+        return;
+
     int spot_x, spot_y;
     int x, y, width, height;
     int pos_x = 0, pos_y = 0, ise_width = 0, ise_height = 0;