linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re:FBDEV updates.
@ 2003-08-16 15:50 Chris Heath
  0 siblings, 0 replies; only message in thread
From: Chris Heath @ 2003-08-16 15:50 UTC (permalink / raw)
  To: jsimmons; +Cc: linux-kernel

James,

I am still seeing a lot of cursors being left behind.  It is not a race
condition or anything -- in the TTY line editor, it happens about 50% of
the time when you press backspace.

What appears to be happening is the cursor is flashing twice as slowly
as the driver thinks it is, so of course it's wrong half the time when
it comes to erase the cursor.

The patch below fixes it for me.

Chris


--- a/drivers/video/softcursor.c	2003-08-16 11:39:51.000000000 -0400
+++ b/drivers/video/softcursor.c	2003-08-16 11:29:43.000000000 -0400
@@ -74,6 +74,12 @@
 		
 	if (info->cursor.image.data)
 		info->fbops->fb_imageblit(info, &info->cursor.image);
+
+	if (!info->cursor.enable) {
+		for (i = 0; i < size; i++)
+			dst[i] ^= info->cursor.mask[i]; 
+	}
+
 	return 0;
 }
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-16 15:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-16 15:50 Re:FBDEV updates Chris Heath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).