diff options
author | Kazutaka YOKOTA <yokota@FreeBSD.org> | 2001-07-10 14:13:34 +0000 |
---|---|---|
committer | Kazutaka YOKOTA <yokota@FreeBSD.org> | 2001-07-10 14:13:34 +0000 |
commit | 44b37d9627b2333c4099ea9e333fb1b67d75c082 (patch) | |
tree | ab090e7ac820364b8bdd44a724c1e6b46b1d9331 /sys/dev/syscons/scmouse.c | |
parent | d193eadbdf5b0729c35e651e9fca0bbfd6ce51e5 (diff) | |
download | src-44b37d9627b2333c4099ea9e333fb1b67d75c082.tar.gz src-44b37d9627b2333c4099ea9e333fb1b67d75c082.zip |
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
Notes
Notes:
svn path=/head/; revision=79534
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 7d4180eef03a..b8bb5d161399 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; |