summaryrefslogtreecommitdiffstats
path: root/abs/core/enlightenment/startup.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/enlightenment/startup.patch')
-rw-r--r--abs/core/enlightenment/startup.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/abs/core/enlightenment/startup.patch b/abs/core/enlightenment/startup.patch
index e24bde5..0841d88 100644
--- a/abs/core/enlightenment/startup.patch
+++ b/abs/core/enlightenment/startup.patch
@@ -31,7 +31,6 @@
+ int i;
+ for (i = 0; i < 20; i++)
+ {
-+
+ sleep(1);
+ ret = system("xwininfo -name \"MythTV Frontend\" 2>/dev/null >/dev/null " );
+ if ( ret == 0 )
@@ -44,6 +43,7 @@
+ printf("Couldn't find mythfrontend/mythwelcome, starting anyhow \n");
+ else
+ printf("MythFrontend or MythWelcome found, continue startup\n");
++ sleep(2); //sleeping here to give FE a chance to be displayed.
+ }
+ // End of delay code
+