Changed the softkey(home,back) policy - raising home_screen window and lowering top... 49/35849/1
authorDuna Oh <duna.oh@samsung.com>
Wed, 25 Feb 2015 10:15:06 +0000 (19:15 +0900)
committerDuna Oh <duna.oh@samsung.com>
Wed, 25 Feb 2015 10:15:06 +0000 (19:15 +0900)
Change-Id: I9a784acfdd088234473054fc13dd7ecb95de5314
Signed-off-by: Duna Oh <duna.oh@samsung.com>
src/e_mod_softkey.c

index a991028..45c0bdd 100644 (file)
@@ -42,9 +42,16 @@ _pol_softkey_iconify(E_Zone *zone, Eina_Bool all)
         if ((launcher) && (launcher->ec == ec))
           return;
 
-        e_client_iconify(ec);
-
-        if (!all) return;
+        if (e_mod_pol_client_is_home_screen(ec))
+          {
+             evas_object_raise(ec->frame);
+             return;
+          }
+        if (!all)
+          {
+             evas_object_lower(ec->frame);
+             return;
+          }
      }
 }