e_client: added code to call a e_client_focus_latest_set() in e_client_activate 95/107995/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Mon, 2 Jan 2017 08:25:22 +0000 (17:25 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Mon, 2 Jan 2017 08:25:27 +0000 (17:25 +0900)
There was a bug that the focus window didn't exist below case.
show alpha notification window -> show & activate normal window -> hide notification window immediately

Change-Id: I75beb03b8ad6388b1229bc6fdb45c58dd1b90c89

src/bin/e_client.c

index 40d1534..dc1760a 100644 (file)
@@ -4797,7 +4797,10 @@ e_client_activate(E_Client *ec, Eina_Bool just_do_it)
              if (!obscured)
                evas_object_focus_set(focus_ec->frame, 1);
              else
-               e_client_focus_defer_set(focus_ec);
+               {
+                  e_client_focus_defer_set(focus_ec);
+                  e_client_focus_latest_set(focus_ec);
+               }
           }
      }