aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Args.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-04-27 14:23:39 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-04-27 14:23:39 +0200
commit9b94209f53782ecaf7084722ce90836573ceb86b (patch)
tree42354553aeeb29d9490a3120f0c5cd687cbad370 /nx-X11/programs/Xserver/hw/nxagent/Args.c
parent91d9218c0cc659f40918af6ac6c035c6c48d2c6d (diff)
parent16f6803f1597788b3bebcfa15e8900d8420b54a4 (diff)
downloadnx-libs-9b94209f53782ecaf7084722ce90836573ceb86b.tar.gz
nx-libs-9b94209f53782ecaf7084722ce90836573ceb86b.tar.bz2
nx-libs-9b94209f53782ecaf7084722ce90836573ceb86b.zip
Merge branch 'uli42-pr/various9' into 3.6.x
Attributes GH PR #1029: https://github.com/ArcticaProject/nx-libs/pull/1029
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Args.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Args.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Args.c b/nx-X11/programs/Xserver/hw/nxagent/Args.c
index 174873e51..a3867f6a7 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Args.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Args.c
@@ -480,7 +480,7 @@ int ddxProcessArgument(int argc, char *argv[], int i)
return 2;
}
return 0;
- }
+ }
if (!strcmp(argv[i], "-streaming"))
{
@@ -542,7 +542,7 @@ int ddxProcessArgument(int argc, char *argv[], int i)
if (++i < argc &&
sscanf(argv[i], "%ix%i", &width, &height) == 2 &&
width >= 32 && height >= 32)
- {
+ {
nxagentChangeOption(TileWidth, width);
nxagentChangeOption(TileHeight, height);
return 2;
@@ -582,13 +582,13 @@ int ddxProcessArgument(int argc, char *argv[], int i)
nxagentChangeOption(AllScreens, False);
}
else
- {
- if (nxagentUserGeometry.flag == 0)
+ {
+ if (nxagentUserGeometry.flag == 0)
{
- nxagentUserGeometry.flag = XParseGeometry(argv[i],
- &nxagentUserGeometry.X,
- &nxagentUserGeometry.Y,
- &nxagentUserGeometry.Width,
+ nxagentUserGeometry.flag = XParseGeometry(argv[i],
+ &nxagentUserGeometry.X,
+ &nxagentUserGeometry.Y,
+ &nxagentUserGeometry.Width,
&nxagentUserGeometry.Height);
}
}
@@ -2025,12 +2025,12 @@ FIXME: In rootless mode the backing-store support is not functional yet.
* need to check if this was set on the command line as this has
* the priority over the option file.
*/
-
+
if (nxagentRenderEnable == UNDEFINED)
{
nxagentRenderEnable = True;
}
-
+
if (nxagentRenderEnable == True)
{
nxagentAlphaEnabled = True;
@@ -2216,7 +2216,7 @@ void nxagentSetPackMethod(void)
nxagentChangeOption(Adaptive, False);
}
-
+
if (method == PACK_LOSSY || method == PACK_ADAPTIVE)
{
nxagentPackMethod = PACK_JPEG_16M_COLORS;
@@ -2433,7 +2433,7 @@ void nxagentSetDeferLevel(void)
/*
* Set the tile height.
*/
-
+
if (nxagentOption(TileHeight) != UNDEFINED)
{
#ifdef TEST