e auto-placement - don't include shelves from other screens

unbeknownst to anyone e was placing around shelvs on OTHER screens...
this ended up with some .. odd results every now and again.

@fix
This commit is contained in:
Carsten Haitzler 2015-04-27 16:54:15 +09:00
parent bd39361afc
commit 969541a93c
1 changed files with 1 additions and 0 deletions

View File

@ -179,6 +179,7 @@ e_place_desk_region_smart(E_Desk *desk, Eina_List *skiplist, int x, int y, int w
int bx, by, bw, bh;
if (!e_shelf_desk_visible(es, desk)) continue;
if (es->zone != desk->zone) continue;
bx = es->x;
by = es->y;