Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2019 15:58:05 +0000 (UTC)
From:      Bruce Evans <bde@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r346890 - head/lib/libvgl
Message-ID:  <201904291558.x3TFw5Zc060650@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bde
Date: Mon Apr 29 15:58:05 2019
New Revision: 346890
URL: https://svnweb.freebsd.org/changeset/base/346890

Log:
  Oops, r346889 broke showing of the mouse cursor after clearing, by
  forgetting to tell the bitmap-copying clearing method to preserve the
  cursor.

Modified:
  head/lib/libvgl/simple.c

Modified: head/lib/libvgl/simple.c
==============================================================================
--- head/lib/libvgl/simple.c	Mon Apr 29 14:13:53 2019	(r346889)
+++ head/lib/libvgl/simple.c	Mon Apr 29 15:58:05 2019	(r346890)
@@ -496,7 +496,7 @@ VGLClear(VGLBitmap *object, u_long color)
     for (i = 0; i < object->VXsize; i++)
       bcopy(&color, src.Bitmap + i * object->PixelBytes, object->PixelBytes);
     for (i = 0; i < object->VYsize; i++)
-      __VGLBitmapCopy(&src, 0, 0, object, 0, i, object->VXsize, 1);
+      __VGLBitmapCopy(&src, 0, 0, object, 0, i, object->VXsize, -1);
     break;
 
   case VIDBUF8X:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904291558.x3TFw5Zc060650>