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:
parent
6dd40a16dd
commit
bc0ae06616
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue