aboutsummaryrefslogtreecommitdiff
path: root/lib/libvgl
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2019-04-26 16:14:23 +0000
committerBruce Evans <bde@FreeBSD.org>2019-04-26 16:14:23 +0000
commit5800d10f6a9185508a3e2a25f223515e212963b9 (patch)
treef6047e016517b4877aa829ffb799deaffbb2cb66 /lib/libvgl
parent7d6386daa0cc0f4db21898c58b898a435bfcdf3c (diff)
downloadsrc-5800d10f6a9185508a3e2a25f223515e212963b9.tar.gz
src-5800d10f6a9185508a3e2a25f223515e212963b9.zip
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.
Notes
Notes: svn path=/head/; revision=346752
Diffstat (limited to 'lib/libvgl')
-rw-r--r--lib/libvgl/simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libvgl/simple.c b/lib/libvgl/simple.c
index 9cb4311b033c..ea8d6ec336db 100644
--- a/lib/libvgl/simple.c
+++ b/lib/libvgl/simple.c
@@ -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);