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

Screen.c: report both created windows (and with the right name)

parent 61255ac1
...@@ -1776,6 +1776,11 @@ N/A ...@@ -1776,6 +1776,11 @@ N/A
nxagentDefaultVisual(pScreen), nxagentDefaultVisual(pScreen),
valuemask, &attributes); valuemask, &attributes);
if (nxagentReportWindowIds)
{
fprintf (stderr, "NXAGENT_WINDOW_ID: SCREEN_WINDOW:[%d],WID:[0x%x]\n", pScreen -> myNum, nxagentDefaultWindows[pScreen->myNum]);
}
if (nxagentOption(Rootless) == 0) if (nxagentOption(Rootless) == 0)
{ {
valuemask = CWEventMask; valuemask = CWEventMask;
...@@ -1791,12 +1796,12 @@ N/A ...@@ -1791,12 +1796,12 @@ N/A
0, 0, InputOnly, 0, 0, InputOnly,
nxagentDefaultVisual(pScreen), nxagentDefaultVisual(pScreen),
valuemask , &attributes); valuemask , &attributes);
}
if (nxagentReportWindowIds) if (nxagentReportWindowIds)
{ {
fprintf (stderr, "NXAGENT_WINDOW_ID: SCREEN_WINDOW:[%d],WID:[0x%x]\n", pScreen -> myNum, nxagentInputWindows[pScreen->myNum]); fprintf (stderr, "NXAGENT_WINDOW_ID: INPUT_WINDOW:[%d],WID:[0x%x]\n", pScreen -> myNum, nxagentInputWindows[pScreen->myNum]);
} }
}
#ifdef TEST #ifdef TEST
fprintf(stderr, "nxagentOpenScreen: Created new default window with id [0x%x].\n", fprintf(stderr, "nxagentOpenScreen: Created new default window with id [0x%x].\n",
nxagentDefaultWindows[pScreen->myNum]); nxagentDefaultWindows[pScreen->myNum]);
......
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