diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2019-09-01 14:57:27 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-11-02 11:39:30 +0100 |
commit | cf0571bb49b255cb8056da1ea5f6d41e37eb834c (patch) | |
tree | 726e91adaef1f1f04a47aba914d0e2400ddba2ba /nx-X11/programs/Xserver/dix | |
parent | 5327a85b777f87bdf8e57fdd6df5dc0350a1df2f (diff) | |
download | nx-libs-cf0571bb49b255cb8056da1ea5f6d41e37eb834c.tar.gz nx-libs-cf0571bb49b255cb8056da1ea5f6d41e37eb834c.tar.bz2 nx-libs-cf0571bb49b255cb8056da1ea5f6d41e37eb834c.zip |
NXwindow.c: call InitRootWindow from dix
Diffstat (limited to 'nx-X11/programs/Xserver/dix')
-rw-r--r-- | nx-X11/programs/Xserver/dix/window.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/dix/window.c b/nx-X11/programs/Xserver/dix/window.c index a35e79c11..04e0a2d05 100644 --- a/nx-X11/programs/Xserver/dix/window.c +++ b/nx-X11/programs/Xserver/dix/window.c @@ -497,9 +497,12 @@ CreateRootWindow(ScreenPtr pScreen) return TRUE; } -#ifndef NXAGENT_SERVER void +#ifdef NXAGENT_SERVER +xorg_InitRootWindow(WindowPtr pWin) +#else InitRootWindow(WindowPtr pWin) +#endif { ScreenPtr pScreen = pWin->drawable.pScreen; int backFlag = CWBorderPixel | CWCursor | CWBackingStore; @@ -531,7 +534,6 @@ InitRootWindow(WindowPtr pWin) MapWindow(pWin, serverClient); } -#endif /* NXAGENT_SERVER */ /* Set the region to the intersection of the rectangle and the * window's winSize. The window is typically the parent of the |