[*][conform] sliding window takes swallow area of virtual keypad, even if virtual...
authorShinwoo Kim <cinoo.kim@samsung.com>
Mon, 17 Oct 2011 10:17:15 +0000 (19:17 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Mon, 17 Oct 2011 10:17:15 +0000 (19:17 +0900)
Change-Id: I015380f9c6e064fa3e4fd5f25a8943b8074601a3

src/lib/elm_conform.c

index 9b926ea..1beeb1e 100644 (file)
@@ -200,6 +200,10 @@ _conformant_part_sizing_eval(Evas_Object *obj, Conformant_Part_Type part_type)
      }
    if (part_type & ELM_CONFORM_SLIDING_WIN_PART)
      {
+        //If the virtual keypad uses the swallow area
+        ret = ecore_x_e_illume_keyboard_geometry_get(zone, &sx, &sy, &sw, &sh);
+        if (ret && sh > 0) return;
+
         edje_object_part_swallow(wd->base, "elm.swallow.virtualkeypad",
                                wd->sliding_win);
         ret = ecore_x_e_illume_sliding_win_geometry_get(zone, &sx, &sy, &sw, &sh);