Small fix (you would need to be changing desktop count and have windows still on those desks [i.e. xnest in e17 or something] but it could happen

SVN revision: 13225
This commit is contained in:
handyande 2005-02-07 15:06:47 +00:00 committed by handyande
parent 9920d28f67
commit 08bc10fae2
1 changed files with 3 additions and 2 deletions

View File

@ -557,8 +557,9 @@ _e_main_screens_init(void)
target = e_desk_at_xy_get(bd->zone,
deskxy[0],
deskxy[1]);
e_border_desk_set(bd, target);
if (target == e_desk_current_get(bd->zone))
if (target)
e_border_desk_set(bd, target);
if (!target || target == e_desk_current_get(bd->zone))
{
ret = ecore_x_window_prop_card32_get(windows[i],
E_ATOM_MAPPED,