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:
bde 2019-04-26 16:14:23 +00:00
parent 3b0026faa5
commit 37f3d66311

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);