Commit 8365ce46 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Screen.c: whitespace/formatting fixes

parent d98eeec0
...@@ -404,7 +404,7 @@ Window nxagentCreateIconWindow(void) ...@@ -404,7 +404,7 @@ Window nxagentCreateIconWindow(void)
if (nxagentReportWindowIds) if (nxagentReportWindowIds)
{ {
fprintf (stderr, "NXAGENT_WINDOW_ID: ICON_WINDOW,WID:[0x%x]\n", w); fprintf(stderr, "NXAGENT_WINDOW_ID: ICON_WINDOW,WID:[0x%x]\n", w);
} }
#ifdef TEST #ifdef TEST
fprintf(stderr, "nxagentCreateIconWindow: Created new icon window with id [0x%x].\n", fprintf(stderr, "nxagentCreateIconWindow: Created new icon window with id [0x%x].\n",
...@@ -1778,28 +1778,29 @@ N/A ...@@ -1778,28 +1778,29 @@ N/A
if (nxagentReportWindowIds) if (nxagentReportWindowIds)
{ {
fprintf (stderr, "NXAGENT_WINDOW_ID: SCREEN_WINDOW:[%d],WID:[0x%x]\n", pScreen -> myNum, nxagentDefaultWindows[pScreen->myNum]); 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;
mask = PointerMotionMask; mask = PointerMotionMask;
attributes.event_mask = mask; attributes.event_mask = mask;
nxagentInputWindows[pScreen -> myNum] = nxagentInputWindows[pScreen -> myNum] =
XCreateWindow(nxagentDisplay, XCreateWindow(nxagentDisplay,
nxagentDefaultWindows[pScreen -> myNum], nxagentDefaultWindows[pScreen -> myNum],
0, 0, 0, 0,
nxagentOption(Width), nxagentOption(Width),
nxagentOption(Height), nxagentOption(Height),
0, 0, InputOnly, 0, 0, InputOnly,
nxagentDefaultVisual(pScreen), nxagentDefaultVisual(pScreen),
valuemask , &attributes); valuemask , &attributes);
if (nxagentReportWindowIds)
{ if (nxagentReportWindowIds)
fprintf (stderr, "NXAGENT_WINDOW_ID: INPUT_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
......
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