magnifier: use border size when n = 1

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-11-17 14:58:01 +01:00
parent a329da144d
commit e6f0e38881
1 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,8 @@ layout_magnifier(int screen)
{
/* No other clients. */
geometry = area;
geometry.width -= 2 * focus->border;
geometry.height -= 2 * focus->border;
}
client_resize(focus, geometry, focus->honorsizehints);
client_raise(focus);