aboutsummaryrefslogtreecommitdiffstats
path: root/meta/packages/matchbox-keyboard/files
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-08-19 16:06:48 +0000
committerRichard Purdie <richard@openedhand.com>2008-08-19 16:06:48 +0000
commit4453d53007f4dfe8c45a094acd3cc6924d6cf075 (patch)
treebfd7f592bc5de2387a65f37deb47fd9062444cfc /meta/packages/matchbox-keyboard/files
parentb116e4057da8f34fee6ccfaa01b0776484ce6196 (diff)
downloadopenembedded-core-contrib-4453d53007f4dfe8c45a094acd3cc6924d6cf075.tar.gz
matchbox-keyboard: Change session script to start it after the desktop using dbus-wait removing the dodgy sleep call
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5073 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/matchbox-keyboard/files')
-rwxr-xr-xmeta/packages/matchbox-keyboard/files/80matchboxkeyboard.shbg (renamed from meta/packages/matchbox-keyboard/files/80matchboxkeyboard)6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/packages/matchbox-keyboard/files/80matchboxkeyboard b/meta/packages/matchbox-keyboard/files/80matchboxkeyboard.shbg
index 7c775af0eb..e6745c5695 100755
--- a/meta/packages/matchbox-keyboard/files/80matchboxkeyboard
+++ b/meta/packages/matchbox-keyboard/files/80matchboxkeyboard.shbg
@@ -14,8 +14,10 @@ elif [ "$DISPLAY_CAN_ROTATE" = "1" ]; then
fi
fi
-# Delay to make sure the window manager is active
if [ "$CMD" ]; then
- { sleep 2 ; $CMD ; } &
+ # Delay to make sure the window manager is active
+ # by waiting for the desktop to say its finished loading
+ dbus-wait org.matchbox_project.desktop Loaded
+ $CMD
fi