summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;