home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / lib / X / XUngrabPtr.c < prev    next >
Encoding:
C/C++ Source or Header  |  1991-01-29  |  968 b   |  29 lines

  1. /* $XConsortium: XUngrabPtr.c,v 11.9 91/01/06 11:48:37 rws Exp $ */
  2. /* Copyright    Massachusetts Institute of Technology    1986    */
  3.  
  4. /*
  5. Permission to use, copy, modify, distribute, and sell this software and its
  6. documentation for any purpose is hereby granted without fee, provided that
  7. the above copyright notice appear in all copies and that both that
  8. copyright notice and this permission notice appear in supporting
  9. documentation, and that the name of M.I.T. not be used in advertising or
  10. publicity pertaining to distribution of the software without specific,
  11. written prior permission.  M.I.T. makes no representations about the
  12. suitability of this software for any purpose.  It is provided "as is"
  13. without express or implied warranty.
  14. */
  15.  
  16. #include "Xlibint.h"
  17.  
  18. XUngrabPointer(dpy, time)
  19. register Display *dpy;
  20. Time time;
  21. {
  22.     register xResourceReq *req;
  23.  
  24.     LockDisplay(dpy);
  25.     GetResReq(UngrabPointer, time, req);
  26.     UnlockDisplay(dpy);
  27.     SyncHandle();
  28. }
  29.