Commit a3e0376f authored by Ulrich Sibiller's avatar Ulrich Sibiller

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.)
parent d8f5e647
...@@ -1942,20 +1942,6 @@ Bool nxagentRealizeWindow(WindowPtr pWin) ...@@ -1942,20 +1942,6 @@ Bool nxagentRealizeWindow(WindowPtr pWin)
#endif #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 #ifdef TEST
if (nxagentOption(Rootless) && nxagentLastWindowDestroyed) if (nxagentOption(Rootless) && nxagentLastWindowDestroyed)
{ {
......
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