summaryrefslogtreecommitdiffstats
path: root/meta/packages/matchbox-keyboard/files/80matchboxkeyboard
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/matchbox-keyboard/files/80matchboxkeyboard')
-rwxr-xr-xmeta/packages/matchbox-keyboard/files/80matchboxkeyboard6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/packages/matchbox-keyboard/files/80matchboxkeyboard b/meta/packages/matchbox-keyboard/files/80matchboxkeyboard
index 60d9ff0e5d..8af3bd59a5 100755
--- a/meta/packages/matchbox-keyboard/files/80matchboxkeyboard
+++ b/meta/packages/matchbox-keyboard/files/80matchboxkeyboard
@@ -10,9 +10,8 @@ if [ "$DISPLAY_CAN_ROTATE" = "1" ]; then
10 elif [ "$HAVE_KEYBOARD_LANDSCAPE" = "1" -a "$HAVE_KEYBOARD_PORTRAIT" = "0" ]; then 10 elif [ "$HAVE_KEYBOARD_LANDSCAPE" = "1" -a "$HAVE_KEYBOARD_PORTRAIT" = "0" ]; then
11 CMD="matchbox-keyboard -d -o portrait" 11 CMD="matchbox-keyboard -d -o portrait"
12 fi 12 fi
13elif [ "$HAVE_KEYBOARD" = "1" ]; then 13elif [ "$HAVE_KEYBOARD" = "0" ]; then
14 # Have a physical keyboard, nothing to do 14 CMD="matchbox-keyboard -d"
15 exit
16fi 15fi
17 16
18# Delay to make sure the window manager is active 17# Delay to make sure the window manager is active
@@ -20,4 +19,3 @@ fi
20if [ "$CMD" ]; then 19if [ "$CMD" ]; then
21 (sleep 2 && $CMD) & 20 (sleep 2 && $CMD) &
22fi 21fi
23