summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2008-11-10 09:43:14 +0100
committerDanny Baumann <dannybaumann@web.de>2008-11-10 09:43:14 +0100
commitf389a20aa8b58bdf74943c3fe0011a05c09ed802 (patch)
treeb6b07e64228a41b6122a05393e35cb5f7c8e194a /src
parenta6f26ca8d5d88101d35517a1a3d2a5f13dc932dd (diff)
Ignore desktop hints set by previous WM by default.
Diffstat (limited to 'src')
-rw-r--r--src/main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index d8921e7c..3784afe8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -61,7 +61,7 @@ Bool replaceCurrentWm = FALSE;
Bool indirectRendering = FALSE;
Bool strictBinding = TRUE;
Bool noDetection = FALSE;
-Bool useDesktopHints = TRUE;
+Bool useDesktopHints = FALSE;
Bool onlyCurrentScreen = FALSE;
#ifdef USE_COW
@@ -325,8 +325,13 @@ main (int argc, char **argv)
}
else if (!strcmp (argv[i], "--ignore-desktop-hints"))
{
+ /* keep command line parameter for backward compatibility */
useDesktopHints = FALSE;
}
+ else if (!strcmp (argv[i], "--keep-desktop-hints"))
+ {
+ useDesktopHints = TRUE;
+ }
else if (!strcmp (argv[i], "--only-current-screen"))
{
onlyCurrentScreen = TRUE;