diff options
author | Danny Baumann <dannybaumann@web.de> | 2008-11-10 09:43:14 +0100 |
---|---|---|
committer | Danny Baumann <dannybaumann@web.de> | 2008-11-10 09:43:14 +0100 |
commit | f389a20aa8b58bdf74943c3fe0011a05c09ed802 (patch) | |
tree | b6b07e64228a41b6122a05393e35cb5f7c8e194a /src | |
parent | a6f26ca8d5d88101d35517a1a3d2a5f13dc932dd (diff) |
Ignore desktop hints set by previous WM by default.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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; |