aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/dix/events.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/dix/events.c')
-rw-r--r--nx-X11/programs/Xserver/dix/events.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/dix/events.c b/nx-X11/programs/Xserver/dix/events.c
index bcfa30936..6a8a4043e 100644
--- a/nx-X11/programs/Xserver/dix/events.c
+++ b/nx-X11/programs/Xserver/dix/events.c
@@ -2070,9 +2070,12 @@ void ReinitializeRootWindow(WindowPtr win, int xoff, int yoff)
}
#endif
-#ifndef NXAGENT_SERVER
void
+#ifdef NXAGENT_SERVER
+xorg_DefineInitialRootWindow(register WindowPtr win)
+#else
DefineInitialRootWindow(register WindowPtr win)
+#endif
{
register ScreenPtr pScreen = win->drawable.pScreen;
@@ -2112,7 +2115,6 @@ DefineInitialRootWindow(register WindowPtr win)
}
#endif
}
-#endif /* NXAGENT_SERVER */
/*
* This does not take any shortcuts, and even ignores its argument, since