In VGLClear(), check for the overlap of the mouse cursor in the whole

display, not just in the unpanned top left corner.  This currently
makes no difference since the kernel erroneously doesn't allow moving
the cursor completely outside of the unpanned corner.
This commit is contained in:
Bruce Evans 2019-04-26 16:14:23 +00:00
parent 7d6386daa0
commit 5800d10f6a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346752

View File

@ -476,7 +476,7 @@ VGLClear(VGLBitmap *object, u_long color)
VGLCheckSwitch();
if (object == VGLDisplay) {
VGLMouseFreeze();
mouseoverlap = VGLMouseOverlap(0, 0, object->Xsize, object->Ysize);
mouseoverlap = VGLMouseOverlap(0, 0, object->VXsize, object->VYsize);
if (mouseoverlap)
VGLMousePointerHide();
VGLClear(&VGLVDisplay, color);