diff options
Diffstat (limited to 'xorg/server/xrdpdev/xrdpdev.c')
-rw-r--r-- | xorg/server/xrdpdev/xrdpdev.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/xorg/server/xrdpdev/xrdpdev.c b/xorg/server/xrdpdev/xrdpdev.c index a4fffffc..a22c27fa 100644 --- a/xorg/server/xrdpdev/xrdpdev.c +++ b/xorg/server/xrdpdev/xrdpdev.c @@ -48,6 +48,7 @@ This is the main driver file #include "rdpComposite.h" #include "rdpGlyphs.h" #include "rdpPixmap.h" +#include "rdpClientCon.h" #define XRDP_DRIVER_NAME "XRDPDEV" #define XRDP_NAME "XRDPDEV" @@ -393,6 +394,19 @@ rdpDeferredRandR(OsTimerPtr timer, CARD32 now, pointer arg) return 0; } +/******************************************************************************/ +static void +rdpBlockHandler1(pointer blockData, OSTimePtr pTimeout, pointer pReadmask) +{ +} + +/******************************************************************************/ +static void +rdpWakeupHandler1(pointer blockData, int result, pointer pReadmask) +{ + rdpClientConCheck((ScreenPtr)blockData); +} + /*****************************************************************************/ static Bool rdpScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) @@ -518,6 +532,8 @@ rdpScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) ps->Glyphs = rdpGlyphs; } + RegisterBlockAndWakeupHandlers(rdpBlockHandler1, rdpWakeupHandler1, pScreen); + g_timer = TimerSet(g_timer, 0, 10, rdpDeferredRandR, pScreen); LLOGLN(0, ("rdpScreenInit: out")); |