fix fullscreen desk switching + iconify thing

SVN revision: 75934
This commit is contained in:
Carsten Haitzler 2012-09-02 03:05:21 +00:00
parent 3e71401d2d
commit 6e8a7eef7e
1 changed files with 2 additions and 1 deletions

View File

@ -2229,7 +2229,8 @@ e_border_focus_set(E_Border *bd,
focus_next = eina_list_remove(focus_next, bd);
if (bd == focusing) focusing = NULL;
if (bd->focused)
if ((bd->focused) &&
((bd->desk == e_desk_current_get(bd->zone)) || (bd->sticky)))
{
Eina_Bool wasfocused = EINA_FALSE;
bd_unfocus = bd;