summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ea8b509..bfbfc81 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -56,6 +56,7 @@ bool noDetection = false;
bool useDesktopHints = false;
bool debugOutput = false;
bool useCow = true;
+bool zcomp = false;
unsigned int pluginClassHandlerIndex = 0;
@@ -73,6 +74,7 @@ usage (void)
"[--keep-desktop-hints]\n "
"[--use-root-window] "
"[--debug] "
+ "[--zcomp] "
"[--version] "
"[--help] "
"[PLUGIN]...\n",
@@ -172,6 +174,10 @@ main (int argc, char **argv)
if (i + 1 < argc)
backgroundImage = argv[++i];
}
+ else if (!strcmp (argv[i], "--zcomp"))
+ {
+ zcomp = true;
+ }
else if (*argv[i] == '-')
{
compLogMessage ("core", CompLogLevelWarn,