forked from enlightenment/enlightenment
more accurately init window position for re-managed windows
This commit is contained in:
parent
c533d03e59
commit
0bcb83b2b6
|
@ -8298,9 +8298,10 @@ _e_border_eval(E_Border *bd)
|
|||
|
||||
if (bd->re_manage)
|
||||
{
|
||||
bd->x -= bd->client_inset.l;
|
||||
bd->y -= bd->client_inset.t;
|
||||
bd->changes.pos = 1;
|
||||
int x = bd->x, y = bd->y;
|
||||
if (bd->x) bd->x -= bd->client_inset.l;
|
||||
if (bd->y) bd->y -= bd->client_inset.t;
|
||||
if ((x != bd->x) || (y != bd->y)) bd->changes.pos = 1;
|
||||
bd->placed = 1;
|
||||
}
|
||||
else if ((!bd->placed) && (bd->client.icccm.request_pos))
|
||||
|
|
Loading…
Reference in New Issue