[X2Go-Commits] [nx-libs] 66/219: Window.c: remove leftover (commented) code

git-admin at x2go.org git-admin at x2go.org
Sat Sep 28 12:10:23 CEST 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit a3e0376f95cb57aeda12438313cba67b1690d685
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Wed May 29 23:52:44 2019 +0200

    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.)
---
 nx-X11/programs/Xserver/hw/nxagent/Window.c | 14 --------------
 1 file changed, 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)
   {

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list