summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-01-19 20:21:34 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-01-19 20:21:34 +0000
commit2f66bc06a639c063a93de742008c3df5bc043808 (patch)
tree25eb8fa924ccdf8bafddaf659eb0f552c9704618
parent9f383b6ba4f370ea9afd268143f213eb8d852b2e (diff)
Clear RI_CLEARMARGINS in the ri_bits == NULL ifb(4) kluge, the new window
position code may set it.
-rw-r--r--sys/arch/sparc64/dev/fb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/fb.c b/sys/arch/sparc64/dev/fb.c
index 6872fcbc182..ed620e9dd03 100644
--- a/sys/arch/sparc64/dev/fb.c
+++ b/sys/arch/sparc64/dev/fb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fb.c,v 1.20 2009/01/12 17:14:48 miod Exp $ */
+/* $OpenBSD: fb.c,v 1.21 2009/01/19 20:21:33 miod Exp $ */
/* $NetBSD: fb.c,v 1.23 1997/07/07 23:30:22 pk Exp $ */
/*
@@ -261,7 +261,7 @@ fbwscons_init(struct sunfb *sf, int flags, int isconsole)
/* ifb(4) doesn't set ri_bits at the moment */
if (ri->ri_bits == NULL)
- ri->ri_flg &= ~RI_CLEAR;
+ ri->ri_flg &= ~(RI_CLEAR | RI_CLEARMARGINS);
rasops_init(ri, rows, cols);