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
7d6386daa0
commit
5800d10f6a
@ -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…
x
Reference in New Issue
Block a user