summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-07-10 08:36:48 +0000
committerMatt Wilson <msw@redhat.com>2001-07-10 08:36:48 +0000
commitdf52094ef694b0f4ad2ac2873904e6ef2b4e3928 (patch)
tree3ebe408204c68a8721a1b3e22deb6f833f14e051
parente4dcdec4bf2fe5fb8942a8a2f2f841ce2eac0b3c (diff)
downloadanaconda-df52094ef694b0f4ad2ac2873904e6ef2b4e3928.tar.gz
anaconda-df52094ef694b0f4ad2ac2873904e6ef2b4e3928.tar.xz
anaconda-df52094ef694b0f4ad2ac2873904e6ef2b4e3928.zip
move xsetroot to after we connect to the X server.
-rwxr-xr-xanaconda12
-rw-r--r--splashscreen.py12
2 files changed, 12 insertions, 12 deletions
diff --git a/anaconda b/anaconda
index 78b40d83e..d79f8907b 100755
--- a/anaconda
+++ b/anaconda
@@ -408,18 +408,6 @@ if display_mode == 'g':
else:
xcfg = xserver.startX (runres, nofbmode, videohw, monitorhw,
mousehw)
-
- #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
except RuntimeError:
print " X startup failed, falling back to text mode"
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)