ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/msmouse.c
(Generate patch)

Comparing ray/src/rt/msmouse.c (file contents):
Revision 2.3 by greg, Fri Oct 16 13:09:23 1992 UTC vs.
Revision 2.4 by greg, Mon Nov 2 16:00:54 1992 UTC

# Line 175 | Line 175 | struct driver  *dp;
175  
176      dp->getcur = ms_getcur;
177   }
178 +
179 + void
180 + ms_gcdone( dp )
181 + struct driver  *dp;
182 + {
183 +    union REGS inregs, outregs;
184 +
185 +    if (dp->getcur != ms_getcur)
186 +        return;                 /* not installed */
187 +
188 +    dp->getcur = NULL;
189 +
190 +    /* uninstall watcher */
191 +
192 +    inregs.w.ax = 0;
193 +    int386 (0x33, &inregs, &outregs);
194 + }
195 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines