Commit 2a6fcfc1 authored by Ulrich Sibiller's avatar Ulrich Sibiller

Rootless.c: improve debugging output

parent a83022a4
...@@ -351,14 +351,14 @@ void nxagentRootlessRestack(unsigned long children[], unsigned int nchildren) ...@@ -351,14 +351,14 @@ void nxagentRootlessRestack(unsigned long children[], unsigned int nchildren)
for (i = 0; i < ntoplevel; i++) for (i = 0; i < ntoplevel; i++)
{ {
fprintf(stderr, "[%p]\n", toplevel[i]); fprintf(stderr, "nxagentRootlessRestack: [%p]\n", toplevel[i]);
} }
fprintf(stderr, "nxagentRootlessRestack: Internal top level windows before restack:"); fprintf(stderr, "nxagentRootlessRestack: Internal top level windows before restack:");
for (pWin = screenInfo.screens[0]->root -> firstChild; pWin != NULL; pWin = pWin -> nextSib) for (pWin = screenInfo.screens[0]->root -> firstChild; pWin != NULL; pWin = pWin -> nextSib)
{ {
fprintf(stderr, "[%p]\n", pWin); fprintf(stderr, "nxagentRootlessRestack: [%p]\n", pWin);
} }
#endif #endif
...@@ -394,14 +394,14 @@ void nxagentRootlessRestack(unsigned long children[], unsigned int nchildren) ...@@ -394,14 +394,14 @@ void nxagentRootlessRestack(unsigned long children[], unsigned int nchildren)
for (i = 0; i < ntoplevel; i++) for (i = 0; i < ntoplevel; i++)
{ {
fprintf(stderr, "[%p]\n", toplevel[i]); fprintf(stderr, "nxagentRootlessRestack: [%p]\n", toplevel[i]);
} }
fprintf(stderr, "nxagentRootlessRestack: Internal top level windows after restack:"); fprintf(stderr, "nxagentRootlessRestack: Internal top level windows after restack:");
for (pWin = screenInfo.screens[0]->root -> firstChild; pWin != NULL; pWin = pWin -> nextSib) for (pWin = screenInfo.screens[0]->root -> firstChild; pWin != NULL; pWin = pWin -> nextSib)
{ {
fprintf(stderr, "[%p]\n", pWin); fprintf(stderr, "nxagentRootlessRestack: [%p]\n", pWin);
} }
#endif #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