--- ray/src/rt/msmouse.c 1992/10/16 13:09:23 2.3 +++ ray/src/rt/msmouse.c 1993/07/16 18:41:09 2.5 @@ -8,6 +8,8 @@ static char SCCSid[] = "$SunId$ LBL"; #include #include "driver.h" +#define NULL 0 + #define M_RIGHTBUTT 0x8 #define M_LEFTBUTT 0x2 #define M_MOTION 0x1 @@ -175,3 +177,21 @@ struct driver *dp; dp->getcur = ms_getcur; } + +void +ms_gcdone( dp ) +struct driver *dp; +{ + union REGS inregs, outregs; + + if (dp->getcur != ms_getcur) + return; /* not installed */ + + dp->getcur = NULL; + + /* uninstall watcher */ + + inregs.w.ax = 0; + int386 (0x33, &inregs, &outregs); +} +