aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Options.h
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Options.h')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Options.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Options.h b/nx-X11/programs/Xserver/hw/nxagent/Options.h
index 0e4869926..5bf1597d5 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Options.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Options.h
@@ -388,6 +388,17 @@ typedef struct _AgentOptions
int NoRootlessExit;
+ /*
+ * Store if the user wants Xinerama. There's a variable called
+ * noPanoramiXExtension in os/utils.c but we cannot rely on that
+ * because RandR and Panoramix change its value when trying to
+ * initialize. So we use this variable to save the user preference
+ * provided by the -/+xinerama parameter before initalizing those
+ * extensions.
+ */
+
+ int Xinerama;
+
} AgentOptionsRec;
typedef AgentOptionsRec *AgentOptionsPtr;