/*
 * -- $Header: /cec/src/nestor/servers/R3/shXlib/XAllowEv.c,v 1.1.1.1 90/04/23 09:51:39 spanachi Exp $
 */
#include "copyright.h"

/* $XConsortium: XAllowEv.c,v 1.12 88/09/06 16:04:05 jim Exp $ */
/* Copyright    Massachusetts Institute of Technology    1986	*/
/* -- MULTIPLEX Extension -- */

#include "Xlibint.h"

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


XAllowEvents(dpy, mode, time)
    register Display *dpy;
    int mode;
    Time time;

{
    register xAllowEventsReq *req;

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

    LockDisplay(dpy);
    GetReq(AllowEvents,req);
    req->mode = mode;
    req->time = time;
    UnlockDisplay(dpy);
    SyncHandle();
}



