aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/dix
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-05-01 11:59:12 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-11-02 11:39:29 +0100
commit40a4fae660b21de943c8f23a77a9ab7bef78180d (patch)
treedf77ae702502afdab877e05944fe7074acfd0aaa /nx-X11/programs/Xserver/dix
parent5f806ddfdb46c9a727b00ac96a6b939c447ca488 (diff)
downloadnx-libs-40a4fae660b21de943c8f23a77a9ab7bef78180d.tar.gz
nx-libs-40a4fae660b21de943c8f23a77a9ab7bef78180d.tar.bz2
nx-libs-40a4fae660b21de943c8f23a77a9ab7bef78180d.zip
NXwindow.c: call upstream version UnmapWindow()
Diffstat (limited to 'nx-X11/programs/Xserver/dix')
-rw-r--r--nx-X11/programs/Xserver/dix/window.c6
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 ee146d783..80f572a10 100644
--- a/nx-X11/programs/Xserver/dix/window.c
+++ b/nx-X11/programs/Xserver/dix/window.c
@@ -2988,9 +2988,12 @@ UnrealizeTree(
* generated. Cannot unmap a root window.
*****/
-#ifndef NXAGENT_SERVER
int
+#ifdef NXAGENT_SERVER
+xorg_UnmapWindow(register WindowPtr pWin, Bool fromConfigure)
+#else
UnmapWindow(register WindowPtr pWin, Bool fromConfigure)
+#endif
{
register WindowPtr pParent;
xEvent event;
@@ -3042,7 +3045,6 @@ UnmapWindow(register WindowPtr pWin, Bool fromConfigure)
WindowsRestructured ();
return(Success);
}
-#endif /* NXAGENT_SERVER */
/*****
* UnmapSubwindows