fix border placement to not move away from iconified/hidden windows...

:)



SVN revision: 73840
This commit is contained in:
Carsten Haitzler 2012-07-14 02:18:36 +00:00
parent 64caa28ea9
commit fff2214391
1 changed files with 2 additions and 1 deletions

View File

@ -84,7 +84,8 @@ _e_place_coverage_border_add(E_Desk *desk, Eina_List *skiplist, int ar, int x, i
} }
if ((ok) && if ((ok) &&
E_INTERSECTS(x, y, w, h, x2, y2, w2, h2) && E_INTERSECTS(x, y, w, h, x2, y2, w2, h2) &&
((bd->sticky) || (bd->desk == desk))) ((bd->sticky) || (bd->desk == desk)) &&
(!bd->iconic) && (bd->visible))
{ {
x0 = x; x0 = x;
if (x < x2) x0 = x2; if (x < x2) x0 = x2;