summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2009-04-09 03:55:13 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2009-04-10 00:46:48 -0700
commit82d7cf5cdcbc5e451a87f8c2f64cd5d2e3627d54 (patch)
tree61b05f3a40da4f6b7f8d91c89afecadd20e48eee
parente86f4e93020d56385418850a9eebae8076dcb9ac (diff)
XQuartz: In rooted mode, make sure we start in the hidden state.
(cherry picked from commit 5ecc497f71c2133f773f6c56ad76cb778862ddd6)
-rw-r--r--hw/xquartz/xpr/xprScreen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/xquartz/xpr/xprScreen.c b/hw/xquartz/xpr/xprScreen.c
index da262f654..1fac9ec60 100644
--- a/hw/xquartz/xpr/xprScreen.c
+++ b/hw/xquartz/xpr/xprScreen.c
@@ -256,6 +256,9 @@ xprDisplayInit(void)
AppleDRIExtensionInit();
xprAppleWMInit();
+
+ if (!quartzEnableRootless)
+ RootlessHideAllWindows();
}
/*