aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-06-10 12:05:24 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-06-11 12:04:47 +0200
commit8365ce463e696ee1a0817f2a7808c48d43004ed2 (patch)
treee07f7450207d3beb0a01fb9a12228f3c1ae85d94
parentd98eeec0225fd729cd4f0f18da8adfb1f4c496fa (diff)
downloadnx-libs-8365ce463e696ee1a0817f2a7808c48d43004ed2.tar.gz
nx-libs-8365ce463e696ee1a0817f2a7808c48d43004ed2.tar.bz2
nx-libs-8365ce463e696ee1a0817f2a7808c48d43004ed2.zip
Screen.c: whitespace/formatting fixes
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Screen.c43
1 files changed, 22 insertions, 21 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
index 6bbe25e4d..bcb0c2661 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -404,7 +404,7 @@ Window nxagentCreateIconWindow(void)
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
fprintf(stderr, "nxagentCreateIconWindow: Created new icon window with id [0x%x].\n",
@@ -1778,28 +1778,29 @@ N/A
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)
- {
- valuemask = CWEventMask;
- mask = PointerMotionMask;
- attributes.event_mask = mask;
-
- nxagentInputWindows[pScreen -> myNum] =
- XCreateWindow(nxagentDisplay,
- nxagentDefaultWindows[pScreen -> myNum],
- 0, 0,
- nxagentOption(Width),
- nxagentOption(Height),
- 0, 0, InputOnly,
- nxagentDefaultVisual(pScreen),
- valuemask , &attributes);
- if (nxagentReportWindowIds)
- {
- fprintf (stderr, "NXAGENT_WINDOW_ID: INPUT_WINDOW:[%d],WID:[0x%x]\n", pScreen -> myNum, nxagentInputWindows[pScreen->myNum]);
- }
+ if (nxagentOption(Rootless) == 0)
+ {
+ valuemask = CWEventMask;
+ mask = PointerMotionMask;
+ attributes.event_mask = mask;
+
+ nxagentInputWindows[pScreen -> myNum] =
+ XCreateWindow(nxagentDisplay,
+ nxagentDefaultWindows[pScreen -> myNum],
+ 0, 0,
+ nxagentOption(Width),
+ nxagentOption(Height),
+ 0, 0, InputOnly,
+ nxagentDefaultVisual(pScreen),
+ valuemask , &attributes);
+
+ if (nxagentReportWindowIds)
+ {
+ fprintf(stderr, "NXAGENT_WINDOW_ID: INPUT_WINDOW:[%d],WID:[0x%x]\n", pScreen -> myNum, nxagentInputWindows[pScreen->myNum]);
+ }
}
#ifdef TEST