aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-05-29 23:52:44 +0200
committerUlrich Sibiller <uli42@gmx.de>2019-06-12 18:44:56 +0200
commita3e0376f95cb57aeda12438313cba67b1690d685 (patch)
tree94922862b39bcd2b82509c9d19913d9b5b370043 /nx-X11/programs/Xserver/hw/nxagent
parentd8f5e647c92b73835665c555d06c8814c7d0dbb5 (diff)
downloadnx-libs-a3e0376f95cb57aeda12438313cba67b1690d685.tar.gz
nx-libs-a3e0376f95cb57aeda12438313cba67b1690d685.tar.bz2
nx-libs-a3e0376f95cb57aeda12438313cba67b1690d685.zip
Window.c: remove leftover (commented) code
This was eventually replaced by nxagentAddConfiguredWindow(pWin, CW_Map) some lines below which is just leading to the same code being executed some time later. (nxagentAddConfiguredWindow() will add a window to a list. nxagentFlushConfiguredWindow() is called at certain points to update all windows in that list in one go. "update" here means calling XConfigureWindow() or XMapWindow() on the real display.)
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Window.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Window.c b/nx-X11/programs/Xserver/hw/nxagent/Window.c
index 8307c3de4..7d98d25fe 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Window.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c
@@ -1942,20 +1942,6 @@ Bool nxagentRealizeWindow(WindowPtr pWin)
#endif
*/
- /*
- * Mapping of the root window is called by
- * InitRootWindow in DIX. Skip the operation
- * if we are in rootless mode.
- */
-
- /*
- * if (!nxagentOption(Rootless) ||
- * nxagentRootlessWindow != pWin)
- * {
- * XMapWindow(nxagentDisplay, nxagentWindow(pWin));
- * }
- */
-
#ifdef TEST
if (nxagentOption(Rootless) && nxagentLastWindowDestroyed)
{