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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346752
@ -476,7 +476,7 @@ VGLClear(VGLBitmap *object, u_long color)
|
|||||||
VGLCheckSwitch();
|
VGLCheckSwitch();
|
||||||
if (object == VGLDisplay) {
|
if (object == VGLDisplay) {
|
||||||
VGLMouseFreeze();
|
VGLMouseFreeze();
|
||||||
mouseoverlap = VGLMouseOverlap(0, 0, object->Xsize, object->Ysize);
|
mouseoverlap = VGLMouseOverlap(0, 0, object->VXsize, object->VYsize);
|
||||||
if (mouseoverlap)
|
if (mouseoverlap)
|
||||||
VGLMousePointerHide();
|
VGLMousePointerHide();
|
||||||
VGLClear(&VGLVDisplay, color);
|
VGLClear(&VGLVDisplay, color);
|
||||||
|
Loading…
Reference in New Issue
Block a user