summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons/scmouse.c
diff options
context:
space:
mode:
authoryokota <yokota@FreeBSD.org>2001-07-10 14:13:34 +0000
committeryokota <yokota@FreeBSD.org>2001-07-10 14:13:34 +0000
commite375c956b03f3921f222598f5bc28a44268826b3 (patch)
treeab090e7ac820364b8bdd44a724c1e6b46b1d9331 /sys/dev/syscons/scmouse.c
parentd4e648feb225797ea93f7f5948f780f1d93a3f6b (diff)
downloadFreeBSD-src-e375c956b03f3921f222598f5bc28a44268826b3.zip
FreeBSD-src-e375c956b03f3921f222598f5bc28a44268826b3.tar.gz
Fix dependencies between kernel options:
- When both SC_PIXEL_MODE and SC_NO_FONT_LOADING are defined, quietly drop SC_NO_FONT_LOADING, because the pixel(raster) console requires font. - When SC_NO_FONT_LOADING is defined, force SC_ALT_MOUSE_IMAGE. Without font, the arrow-shaped mouse cursor cannot be drawn. - Fiddle and simplify some internal macros. MFC after: 2 weeks
Diffstat (limited to 'sys/dev/syscons/scmouse.c')
-rw-r--r--sys/dev/syscons/scmouse.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/syscons/scmouse.c b/sys/dev/syscons/scmouse.c
index 7d4180e..b8bb5d1 100644
--- a/sys/dev/syscons/scmouse.c
+++ b/sys/dev/syscons/scmouse.c
@@ -669,8 +669,6 @@ sc_mouse_ioctl(struct tty *tp, u_long cmd, caddr_t data, int flag,
return 0;
case MOUSE_SHOW:
- if (!ISMOUSEAVAIL(scp->sc->adp->va_flags))
- return EINVAL;
s = spltty();
if (!(scp->sc->flags & SC_MOUSE_ENABLED)) {
scp->sc->flags |= SC_MOUSE_ENABLED;
OpenPOWER on IntegriCloud