/*
 * -- $Header: /cec/src/nestor/servers/R3/shXlib/XUngrabPtr.c,v 1.1.1.1
 * 90/04/23 10:08:47 spanachi Exp $
 */
#include "copyright.h"

/* $XConsortium: XUngrabPtr.c,v 11.8 88/09/06 16:11:12 jim Exp $ */
/* Copyright    Massachusetts Institute of Technology    1986	 */
/* -- MULTIPLEX Extension -- */

#include "Xlibint.h"

/* -- additional includes -- */
#include "utils.h"


XUngrabPointer (dpy, time)
  register Display *dpy;
  Time time;
{
  register xResourceReq *req;

  /* -- flush default dpy to keep buffers aligned -- */
  XmuXFlushDefault (dpy);
  /* -- switch to the chalk holder display -- */
  dpy = XmuXChalkDisplay (dpy);

  LockDisplay (dpy);
  GetResReq (UngrabPointer, time, req);
  UnlockDisplay (dpy);
  SyncHandle ();
}
