From: Doyoun Kang Date: Thu, 30 May 2013 12:46:17 +0000 (+0900) Subject: [E_BORDER] add code to check whether the window is the last_focus_win or not in e_bor... X-Git-Tag: submit/tizen_2.2/20130714.144745~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F10%2F9710%2F1;p=platform%2Fcore%2Fuifw%2Fe17.git [E_BORDER] add code to check whether the window is the last_focus_win or not in e_border_hide(). Change-Id: I661376c9b6ab551e0f9f6f1d4e35ca662c2352da --- diff --git a/packaging/e17.spec b/packaging/e17.spec index 8e29c53..8aed7af 100644 --- a/packaging/e17.spec +++ b/packaging/e17.spec @@ -1,6 +1,6 @@ Name: e17 Summary: The Enlightenment window manager -Version: 1.0.0.001+svn.76808slp2+build36 +Version: 1.0.0.001+svn.76808slp2+build37 Release: 1 Group: System/GUI/Other License: BSD diff --git a/src/bin/e_border.c b/src/bin/e_border.c index 00cf0ef..ce5e76e 100644 --- a/src/bin/e_border.c +++ b/src/bin/e_border.c @@ -1499,7 +1499,8 @@ e_border_hide(E_Border *bd, if (!bd->need_reparent) { - if (bd->focused) + if ((bd->focused) || + (e_grabinput_last_focus_win_get() == bd->client.win)) { e_border_focus_set(bd, 0, 1); if (manage != 2)