matroxfb cursor

Scott Wood (sawst46+@pitt.edu)
Sat, 16 Jan 1999 20:10:53 -0500 (EST)


Hi, in matroxfb when text acceleration is turned on or off, the old
cursor is not erased before the new one is created. This patch fixes
that by erasing the cursor before a mode switch.

--- linux/drivers/video/matroxfb.c Sat Jan 16 19:23:55 1999
+++ linux/drivers/video/matroxfb.c Sat Jan 16 20:04:22 1999
@@ -2393,6 +2393,8 @@

DBG("initMatrox")

+ if (p->dispsw)
+ fb_con.con_cursor(p->conp,CM_ERASE);
p->dispsw_data = NULL;
if ((p->var.accel_flags & FB_ACCELF_TEXT) != FB_ACCELF_TEXT) {
if (p->type == FB_TYPE_TEXT) {

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/