diff options
author | Matt Wilson <msw@redhat.com> | 2001-07-10 08:36:48 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-07-10 08:36:48 +0000 |
commit | df52094ef694b0f4ad2ac2873904e6ef2b4e3928 (patch) | |
tree | 3ebe408204c68a8721a1b3e22deb6f833f14e051 /splashscreen.py | |
parent | e4dcdec4bf2fe5fb8942a8a2f2f841ce2eac0b3c (diff) | |
download | anaconda-df52094ef694b0f4ad2ac2873904e6ef2b4e3928.tar.gz anaconda-df52094ef694b0f4ad2ac2873904e6ef2b4e3928.tar.xz anaconda-df52094ef694b0f4ad2ac2873904e6ef2b4e3928.zip |
move xsetroot to after we connect to the X server.
Diffstat (limited to 'splashscreen.py')
-rw-r--r-- | splashscreen.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/splashscreen.py b/splashscreen.py index 5fe08667b..fdccdbf1c 100644 --- a/splashscreen.py +++ b/splashscreen.py @@ -26,6 +26,18 @@ import GdkImlib splashwindow = None def splashScreenShow(configFileData): + #set the background to a dark gray + path = ("/usr/X11R6/bin/xsetroot",) + args = ("-solid", "gray45") + + child = os.fork () + if (child == 0): + os.execv (path[0], path + args) + try: + pid, status = os.waitpid(child, 0) + except OSError, (errno, msg): + print __name__, "waitpid:", msg + root = _root_window () cursor = cursor_new (GDK.LEFT_PTR) root.set_cursor (cursor) |