summaryrefslogtreecommitdiff
path: root/xserver
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-08-25 19:49:30 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-08-25 19:49:30 +0000
commit4a9357e4c79b536dd32c5c4a82e220fcb9505d1b (patch)
tree8bf1b141e01ef1d454f059a429acc854556e4d65 /xserver
parentca9bc0ab71c2c68649a42ccda988ca3659507c30 (diff)
Since wscons(4) manages the hardware cursor for us, there's no nee to
fiddle with it here. Pointed out by miod@. ok matthieu@
Diffstat (limited to 'xserver')
-rw-r--r--xserver/hw/xfree86/os-support/bsd/bsd_sbus.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/xserver/hw/xfree86/os-support/bsd/bsd_sbus.c b/xserver/hw/xfree86/os-support/bsd/bsd_sbus.c
index 72c0d9e40..869bb56d3 100644
--- a/xserver/hw/xfree86/os-support/bsd/bsd_sbus.c
+++ b/xserver/hw/xfree86/os-support/bsd/bsd_sbus.c
@@ -176,14 +176,6 @@ xf86UnmapSbusMem(sbusDevicePtr psdp, pointer Base, unsigned long Size)
_X_EXPORT void
xf86SbusHideOsHwCursor(sbusDevicePtr psdp)
{
- int fd = xf86Info.screenFd;
- struct wsdisplay_cursor curs;
-
- curs.which = WSDISPLAY_CURSOR_DOCUR;
- curs.enable = 0;
- if (ioctl(fd, WSDISPLAYIO_SCURSOR, &curs) == -1)
- FatalError("%s: could not disable cursor (%s)",
- "xf86SbusHideOsHWCursor", strerror(errno));
}
int