force window border (theme) inset to be applied to new client placement geometry, fixing issues where windows would appear to "slide" across the desktop by the size of the border inset; this was primarily noticeable when using wine applications

SVN revision: 82460
This commit is contained in:
Mike Blumenkrantz 2013-01-09 13:24:24 +00:00
parent 779724d6d1
commit 8e127335cb
3 changed files with 7 additions and 0 deletions

View File

@ -1,6 +1,7 @@
2013-01-09 Mike Blumenkrantz
* geometry_auto_move option now also corrects applications which fail in their attempts to center windows
* fixed bug where window border insets were not applied to initial positioning geometry, causing them to be placed incorrectly
2013-01-08 David H. Bronke

1
NEWS
View File

@ -74,3 +74,4 @@ Fixes:
* Fixed bug where disabled slider widgets could be changed with mouse wheel
* Fixed bug where fileman config slider widgets were not properly disabled
* Tasks gadgets now apply the selected style
* fixed bug where window border insets were not applied to initial positioning geometry, causing them to be placed incorrectly

View File

@ -8570,13 +8570,18 @@ _e_border_eval(E_Border *bd)
(abs((bd->zone->container->h / 2) - bd->y - (bd->h / 2)) < 3))) //bd->y - bd->h/2 is center of container
)
e_border_center(bd);
else
_e_border_move_internal(bd, bd->x, bd->y, 1);
}
else
_e_border_move_internal(bd, bd->x, bd->y, 1);
bd->changes.pos = 1;
bd->placed = 1;
}
}
else
{
_e_border_move_internal(bd, bd->x, bd->y, 1);
bd->changes.pos = 1;
bd->placed = 1;
}