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:
parent
3b0026faa5
commit
37f3d66311
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user