aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Screen.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-05-26 00:43:44 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-10-17 22:38:05 +0200
commitd07c788813d6e72882e9a30821007be49157adea (patch)
tree00a8b8cc47fa0cf4ae41783ece32a1d59738ade5 /nx-X11/programs/Xserver/hw/nxagent/Screen.c
parent2c6b9117fecd23ec683bff2986a894ad75f54e36 (diff)
downloadnx-libs-d07c788813d6e72882e9a30821007be49157adea.tar.gz
nx-libs-d07c788813d6e72882e9a30821007be49157adea.tar.bz2
nx-libs-d07c788813d6e72882e9a30821007be49157adea.zip
Screen.c: remove another pointless code block
Setting nxagentDefaultWindow[pScreen->myNum] is pointless because it is overwritten in the next code block...
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Screen.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Screen.c10
1 files changed, 0 insertions, 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