aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/dix
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-05-22 21:35:05 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-11-01 16:36:24 +0100
commit4c5331afa863ef034dbd31e6afc81a14903ef16b (patch)
treec9644a88da82f0cf977b242ba52efe1c4e04f400 /nx-X11/programs/Xserver/dix
parentb64e1f60bb41d3fa36c9992c675d5d8977612191 (diff)
downloadnx-libs-4c5331afa863ef034dbd31e6afc81a14903ef16b.tar.gz
nx-libs-4c5331afa863ef034dbd31e6afc81a14903ef16b.tar.bz2
nx-libs-4c5331afa863ef034dbd31e6afc81a14903ef16b.zip
NXevents.c: call upstream DefineInitialRootWindow()
Diffstat (limited to 'nx-X11/programs/Xserver/dix')
-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