diff options
author | Koen Kooi <koen@openembedded.org> | 2007-06-17 07:05:26 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-06-17 07:05:26 +0000 |
commit | e28b4bdcb77609c03f711ab57abd735de67ec885 (patch) | |
tree | ed7a436ba3d1f5636b80f2eb6b5a8b87aa6e604c /packages/gpe-session-scripts/gpe-session-scripts_0.67.bb | |
parent | 43685cdd4112bd3038436a6f4059d9eda54ee0c9 (diff) |
gpe-session-scripts: turn on cursor hiding based on the touchscreen machine feature
Diffstat (limited to 'packages/gpe-session-scripts/gpe-session-scripts_0.67.bb')
-rw-r--r-- | packages/gpe-session-scripts/gpe-session-scripts_0.67.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/gpe-session-scripts/gpe-session-scripts_0.67.bb b/packages/gpe-session-scripts/gpe-session-scripts_0.67.bb index 2c17d99bb8..75b79ec870 100644 --- a/packages/gpe-session-scripts/gpe-session-scripts_0.67.bb +++ b/packages/gpe-session-scripts/gpe-session-scripts_0.67.bb @@ -11,7 +11,7 @@ DEPENDS = "matchbox-wm matchbox-panel xtscal gpe-question matchbox-applet-inputm SRC_URI += "file://matchbox-session \ file://disable-composite.xsettings" -PR = "r9" +PR = "r10" #apply a patch to set the fontsize for bigdpi (200+) devices to 5 SRC_URI_append_hx4700 = " file://highdpifontfix.patch;patch=1" @@ -26,6 +26,8 @@ do_configure_append_angstrom() { sed -i s:Industrial:Clearlooks:g X11/xsettings.default } +export CURSOR_HIDE = '${@base_contains("MACHINE_FEATURES","touchscreen","-use_cursor no","-use_cursor yes",d)}' + do_install_append() { install -d ${D}${sysconfdir}/gpe/xsettings-default.d if [ "${GUI_MACHINE_CLASS}" != "bigscreen" ]; then @@ -33,6 +35,8 @@ do_install_append() { fi install -d ${D}${sysconfdir}/matchbox install ${WORKDIR}/matchbox-session ${D}${sysconfdir}/matchbox/session + echo -e "exec matchbox-window-manager ${CURSOR_HIDE} \$@ \n" >> ${D}${sysconfdir}/matchbox/session + install -d ${D}${sysconfdir}/gpe/xsettings-default.d install -m 0644 ${WORKDIR}/disable-composite.xsettings ${D}${sysconfdir}/gpe/xsettings-default.d/disable-composite |