aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Args.c
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2011-10-10 17:58:57 +0200
committerReinhard Tartler <siretart@tauware.de>2011-10-10 17:58:57 +0200
commit25af86cd3aaa61dc4a3d69825aa523177c2229e1 (patch)
treeeae047412a07c76b65446f6f528cc5da53688569 /nx-X11/programs/Xserver/hw/nxagent/Args.c
parente9132da09462b3d2607a97e2f580cbd3144819eb (diff)
downloadnx-libs-25af86cd3aaa61dc4a3d69825aa523177c2229e1.tar.gz
nx-libs-25af86cd3aaa61dc4a3d69825aa523177c2229e1.tar.bz2
nx-libs-25af86cd3aaa61dc4a3d69825aa523177c2229e1.zip
Imported nxagent-3.4.0-16.tar.gznxagent/3.4.0-16
Summary: Imported nxagent-3.4.0-16.tar.gz Keywords: Imported nxagent-3.4.0-16.tar.gz into Git repository
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Args.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Args.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Args.c b/nx-X11/programs/Xserver/hw/nxagent/Args.c
index c2e58bd58..8fbb275a6 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Args.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Args.c
@@ -1,6 +1,6 @@
/**************************************************************************/
/* */
-/* Copyright (c) 2001, 2010 NoMachine, http://www.nomachine.com/. */
+/* Copyright (c) 2001, 2011 NoMachine, http://www.nomachine.com/. */
/* */
/* NXAGENT, NX protocol compression and NX extensions to this software */
/* are copyright of NoMachine. Redistribution and use of the present */
@@ -562,11 +562,15 @@ int ddxProcessArgument(int argc, char *argv[], int i)
if (!strcmp(argv[i],"fullscreen"))
{
nxagentChangeOption(Fullscreen, True);
+
+ nxagentChangeOption(AllScreens, True);
}
else if (!strcmp(argv[i],"ipaq"))
{
nxagentChangeOption(Fullscreen, True);
+ nxagentChangeOption(AllScreens, True);
+
nxagentIpaq = True;
}
else
@@ -1071,10 +1075,14 @@ static void nxagentParseOptions(char *name, char *value)
else if (!strcmp(value, "1"))
{
nxagentChangeOption(Fullscreen, True);
+
+ nxagentChangeOption(AllScreens, True);
}
else if (!strcmp(value, "0"))
{
nxagentChangeOption(Fullscreen, False);
+
+ nxagentChangeOption(AllScreens, False);
}
else
{
@@ -1680,6 +1688,11 @@ N/A
nxagentChangeOption(Fullscreen, False);
}
+ if (nxagentOption(AllScreens) == UNDEFINED)
+ {
+ nxagentChangeOption(AllScreens, False);
+ }
+
if (nxagentOption(Binder) == UNDEFINED)
{
nxagentChangeOption(Binder, False);