magnifier: use border size when n = 1
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
a329da144d
commit
e6f0e38881
|
@ -70,6 +70,8 @@ layout_magnifier(int screen)
|
||||||
{
|
{
|
||||||
/* No other clients. */
|
/* No other clients. */
|
||||||
geometry = area;
|
geometry = area;
|
||||||
|
geometry.width -= 2 * focus->border;
|
||||||
|
geometry.height -= 2 * focus->border;
|
||||||
}
|
}
|
||||||
client_resize(focus, geometry, focus->honorsizehints);
|
client_resize(focus, geometry, focus->honorsizehints);
|
||||||
client_raise(focus);
|
client_raise(focus);
|
||||||
|
|
Loading…
Reference in New Issue