From c038ca255fc08cbdcb88f193334e05582b515761 Mon Sep 17 00:00:00 2001 From: bde Date: Mon, 29 Apr 2019 15:58:05 +0000 Subject: [PATCH] Oops, r346889 broke showing of the mouse cursor after clearing, by forgetting to tell the bitmap-copying clearing method to preserve the cursor. --- lib/libvgl/simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libvgl/simple.c b/lib/libvgl/simple.c index 91552bbc9ec1..d4ffaed782ad 100644 --- a/lib/libvgl/simple.c +++ b/lib/libvgl/simple.c @@ -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: