summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/cmd/rio/wctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/rio/wctl.c b/sys/src/cmd/rio/wctl.c
index 59c9246c9..b4caa4ba4 100644
--- a/sys/src/cmd/rio/wctl.c
+++ b/sys/src/cmd/rio/wctl.c
@@ -95,7 +95,7 @@ goodrect(Rectangle r)
return 0;
if(Dy(r) > BIG*Dy(screen->r))
return 0;
- if(Dx(r) < 100 || Dy(r) < 3*font->height)
+ if(Dx(r) < 100 || Dy(r) < 3*Borderwidth+font->height)
return 0;
/* window must be on screen */
if(!rectXrect(screen->r, r))