diff options
author | yokota <yokota@FreeBSD.org> | 2001-07-10 14:13:34 +0000 |
---|---|---|
committer | yokota <yokota@FreeBSD.org> | 2001-07-10 14:13:34 +0000 |
commit | e375c956b03f3921f222598f5bc28a44268826b3 (patch) | |
tree | ab090e7ac820364b8bdd44a724c1e6b46b1d9331 /sys/dev/syscons/scmouse.c | |
parent | d4e648feb225797ea93f7f5948f780f1d93a3f6b (diff) | |
download | FreeBSD-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.c | 2 |
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; |