[X2Go-Commits] [nx-libs] 39/429: Screen.c: remove another pointless code block
git-admin at x2go.org
git-admin at x2go.org
Mon Oct 18 09:36:03 CEST 2021
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 d07c788813d6e72882e9a30821007be49157adea
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Tue May 26 00:43:44 2020 +0200
Screen.c: remove another pointless code block
Setting nxagentDefaultWindow[pScreen->myNum] is pointless because it is
overwritten in the next code block...
---
nx-X11/programs/Xserver/hw/nxagent/Screen.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
index 172598779..494750038 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -1727,16 +1727,6 @@ N/A
* handling the splash screen.
*/
- if (nxagentOption(Rootless) == True)
- {
- nxagentDefaultWindows[pScreen->myNum] = DefaultRootWindow(nxagentDisplay);
-
- #ifdef TEST
- fprintf(stderr, "nxagentOpenScreen: Using root window id [%ld].\n",
- (long int)nxagentDefaultWindows[pScreen->myNum]);
- #endif
- }
-
#ifdef TEST
fprintf(stderr, "nxagentOpenScreen: Going to create new default window.\n");
#endif
--
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