[oe-commits] org.oe.dev gpe-session-scripts: turn on cursor hiding based on the touchscreen machine feature

koen commit openembedded-commits at lists.openembedded.org
Sun Jun 17 07:11:40 UTC 2007


gpe-session-scripts: turn on cursor hiding based on the touchscreen machine feature

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: af152d47ebbb835213adc897491fd19ccf8b4e1d
ViewMTN: http://monotone.openembedded.org/revision.psp?id=af152d47ebbb835213adc897491fd19ccf8b4e1d
Files:
1
packages/gpe-session-scripts/files/angstrom/matchbox-session
packages/gpe-session-scripts/files/matchbox-session
packages/gpe-session-scripts/gpe-session-scripts_0.67.bb
Diffs:

#
# mt diff -red459a8f7a87918dd43a1513e367c3dd386e56be -raf152d47ebbb835213adc897491fd19ccf8b4e1d
#
# 
# 
# patch "packages/gpe-session-scripts/files/angstrom/matchbox-session"
#  from [fa1348d4ea89a915dacc8f8dfbacbbe163463894]
#    to [5f2775906eeda8b22303d2452c158ba979a9595d]
# 
# patch "packages/gpe-session-scripts/files/matchbox-session"
#  from [87b7e3d1525d163eb005a999ec81257ee9f613f7]
#    to [5c0f9302bc62e8b8612888f54ec5d2c9300d75ab]
# 
# patch "packages/gpe-session-scripts/gpe-session-scripts_0.67.bb"
#  from [1fb474eada53d5e8a4c4fcd539a0708916752c46]
#    to [66c3ab86d2f892000aaad0732b969b1749d60985]
# 
============================================================
--- packages/gpe-session-scripts/files/angstrom/matchbox-session	fa1348d4ea89a915dacc8f8dfbacbbe163463894
+++ packages/gpe-session-scripts/files/angstrom/matchbox-session	5f2775906eeda8b22303d2452c158ba979a9595d
@@ -5,5 +5,4 @@ matchbox-panel --no-flip  --orientation 
   matchbox-desktop &
 
 matchbox-panel --no-flip  --orientation south &
-exec matchbox-window-manager $@
 
============================================================
--- packages/gpe-session-scripts/files/matchbox-session	87b7e3d1525d163eb005a999ec81257ee9f613f7
+++ packages/gpe-session-scripts/files/matchbox-session	5c0f9302bc62e8b8612888f54ec5d2c9300d75ab
@@ -5,5 +5,4 @@ MB_MENU_PANEL_DISABLED=1 matchbox-panel 
   matchbox-desktop &
 
 MB_MENU_PANEL_DISABLED=1 matchbox-panel  --orientation south &
-exec matchbox-window-manager $@
 
============================================================
--- packages/gpe-session-scripts/gpe-session-scripts_0.67.bb	1fb474eada53d5e8a4c4fcd539a0708916752c46
+++ packages/gpe-session-scripts/gpe-session-scripts_0.67.bb	66c3ab86d2f892000aaad0732b969b1749d60985
@@ -11,7 +11,7 @@ SRC_URI += "file://matchbox-session \
 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,7 +35,9 @@ 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
 






More information about the Openembedded-commits mailing list