e pager: check zone when adding a border.

When a window is sticky and a pager is created (when restarting the window manager for instance), not checking zones makes the window being shown everywhere - on every screen


SVN revision: 70183
This commit is contained in:
Chidambar Zinnoury 2012-04-14 12:13:16 +00:00
parent 6dd40a16dd
commit bc0ae06616
1 changed files with 2 additions and 1 deletions

View File

@ -391,7 +391,8 @@ _pager_desk_new(Pager *p, E_Desk *desk, int xpos, int ypos)
{
Pager_Win *pw;
if ((bd->new_client) || ((bd->desk != desk) && (!bd->sticky)))
if ((bd->new_client) || (bd->zone != desk->zone) ||
((bd->desk != desk) && (!bd->sticky)))
continue;
pw = _pager_window_new(pd, bd);
if (pw) pd->wins = eina_list_append(pd->wins, pw);