Commit d07c7888 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Screen.c: remove another pointless code block

Setting nxagentDefaultWindow[pScreen->myNum] is pointless because it is overwritten in the next code block...
parent 2c6b9117
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment