From dd45ce7f888f6d05b15367275b5314860c263cdf Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 16 Nov 2007 15:53:14 +0000 Subject: [PATCH] matchbox-sato: use formfactor to determine if we should show a cursor git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3190 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../matchbox-sato/matchbox-sato/etc/matchbox/session | 8 +++++++- meta/packages/matchbox-sato/matchbox-sato_0.1.bb | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session b/meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session index 8d095f3cd4..8a2bdd013a 100755 --- a/meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session +++ b/meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session @@ -1,6 +1,12 @@ #!/bin/sh -SHOWCURSOR="no" +. /etc/formfactor/config + +if [ "$HAVE_TOUCHSCREEN" = "1" ]; then + SHOWCURSOR="no" +else + SHOWCURSOR="yes" +fi matchbox-desktop & diff --git a/meta/packages/matchbox-sato/matchbox-sato_0.1.bb b/meta/packages/matchbox-sato/matchbox-sato_0.1.bb index bf39d73571..78598ce63d 100644 --- a/meta/packages/matchbox-sato/matchbox-sato_0.1.bb +++ b/meta/packages/matchbox-sato/matchbox-sato_0.1.bb @@ -1,9 +1,9 @@ DESCRIPTION = "Custom MB session files for poky" LICENSE = "GPL" SECTION = "x11" -RDEPENDS = "gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato" +RDEPENDS = "formfactor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato" RCONFLICTS = "matchbox-common" -PR = "r16" +PR = "r17" SRC_URI = "file://etc file://matchbox-session" S = ${WORKDIR}