1706f2543Smrg/*
2706f2543Smrg
3706f2543SmrgCopyright 1993 by Davor Matic
4706f2543Smrg
5706f2543SmrgPermission to use, copy, modify, distribute, and sell this software
6706f2543Smrgand its documentation for any purpose is hereby granted without fee,
7706f2543Smrgprovided that the above copyright notice appear in all copies and that
8706f2543Smrgboth that copyright notice and this permission notice appear in
9706f2543Smrgsupporting documentation.  Davor Matic makes no representations about
10706f2543Smrgthe suitability of this software for any purpose.  It is provided "as
11706f2543Smrgis" without express or implied warranty.
12706f2543Smrg
13706f2543Smrg*/
14706f2543Smrg
15706f2543Smrg#ifdef HAVE_XNEST_CONFIG_H
16706f2543Smrg#include <xnest-config.h>
17706f2543Smrg#endif
18706f2543Smrg
19706f2543Smrg#include <X11/X.h>
20706f2543Smrg#include <X11/Xproto.h>
21706f2543Smrg#include "screenint.h"
22706f2543Smrg#include "input.h"
23706f2543Smrg#include "misc.h"
24706f2543Smrg#include "scrnintstr.h"
25706f2543Smrg#include "windowstr.h"
26706f2543Smrg#include "servermd.h"
27706f2543Smrg
28706f2543Smrg#include "Xnest.h"
29706f2543Smrg
30706f2543Smrg#include "Display.h"
31706f2543Smrg#include "Events.h"
32706f2543Smrg#include "Handlers.h"
33706f2543Smrg
34706f2543Smrgvoid
35706f2543SmrgxnestBlockHandler(pointer blockData, OSTimePtr pTimeout, pointer pReadMask)
36706f2543Smrg{
37706f2543Smrg  xnestCollectExposures();
38706f2543Smrg  XFlush(xnestDisplay);
39706f2543Smrg}
40706f2543Smrg
41706f2543Smrgvoid
42706f2543SmrgxnestWakeupHandler(pointer blockData, int result, pointer pReadMask)
43706f2543Smrg{
44706f2543Smrg  xnestCollectEvents();
45706f2543Smrg}
46