summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorangel <angel@heaven.net>2010-07-29 18:31:46 +0300
committerangel <angel@heaven.net>2010-07-29 18:31:46 +0300
commita16fa16b718c57903033e534503e55cb21faaf11 (patch)
tree876b0f6c2fb9a1413dea5998ecd1a18180de9844 /src/main.cpp
parent3cb3e313a9a24685a85d3004b845908a103259b4 (diff)
downloadzcomp-a16fa16b718c57903033e534503e55cb21faaf11.tar.gz
zcomp-a16fa16b718c57903033e534503e55cb21faaf11.tar.bz2
added --zcomp flag to disable wm, fixed border width calculation
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,