diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2019-10-28 14:06:47 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-11-02 11:39:30 +0100 |
commit | aab723eab22914e65e5fd16a2a252e597b10028a (patch) | |
tree | f1e7789a21db2ee0aebe13f425b66e832ebc5a4c /nx-X11/programs | |
parent | 40a4fae660b21de943c8f23a77a9ab7bef78180d (diff) | |
download | nx-libs-aab723eab22914e65e5fd16a2a252e597b10028a.tar.gz nx-libs-aab723eab22914e65e5fd16a2a252e597b10028a.tar.bz2 nx-libs-aab723eab22914e65e5fd16a2a252e597b10028a.zip |
NXwindow.c: drop own UnmapWindow()
The only difference to the dix version was a fprintf if compiled with
-D TEST.
Diffstat (limited to 'nx-X11/programs')
-rw-r--r-- | nx-X11/programs/Xserver/dix/window.c | 4 | ||||
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/NXwindow.c | 14 |
2 files changed, 0 insertions, 18 deletions
diff --git a/nx-X11/programs/Xserver/dix/window.c b/nx-X11/programs/Xserver/dix/window.c index 80f572a10..a35e79c11 100644 --- a/nx-X11/programs/Xserver/dix/window.c +++ b/nx-X11/programs/Xserver/dix/window.c @@ -2989,11 +2989,7 @@ UnrealizeTree( *****/ int -#ifdef NXAGENT_SERVER -xorg_UnmapWindow(register WindowPtr pWin, Bool fromConfigure) -#else UnmapWindow(register WindowPtr pWin, Bool fromConfigure) -#endif { register WindowPtr pParent; xEvent event; diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXwindow.c b/nx-X11/programs/Xserver/hw/nxagent/NXwindow.c index c682efb10..a34ca862a 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/NXwindow.c +++ b/nx-X11/programs/Xserver/hw/nxagent/NXwindow.c @@ -857,20 +857,6 @@ MapWindow(register WindowPtr pWin, ClientPtr client) return(Success); } -int -UnmapWindow(register WindowPtr pWin, Bool fromConfigure) -{ - #ifdef TEST - if (nxagentWindowTopLevel(pWin)) - { - fprintf(stderr, "UnmapWindow: pWin [%p] fromConfigure [%d]\n", pWin, - fromConfigure); - } - #endif - - return xorg_UnmapWindow(pWin, fromConfigure); -} - void SaveScreens(int on, int mode) { |