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

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

#include "Xlibint.h"

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

XUngrabKeyboard (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 (UngrabKeyboard, time, req);
  UnlockDisplay (dpy);
  SyncHandle ();
}
