summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-sato')
-rw-r--r--meta/recipes-sato/matchbox-stroke/files/single-instance.patch19
-rw-r--r--meta/recipes-sato/matchbox-stroke/matchbox-stroke_svn.bb1
2 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-sato/matchbox-stroke/files/single-instance.patch b/meta/recipes-sato/matchbox-stroke/files/single-instance.patch
new file mode 100644
index 0000000000..f4fec079b5
--- /dev/null
+++ b/meta/recipes-sato/matchbox-stroke/files/single-instance.patch
@@ -0,0 +1,19 @@
1Multiple matchbox-stroke instances would occupy whole screen and cause end user
2confusing. Making matchbox-stroke singleton is one work around.
3
4This patch allow only one instance of matchbox-stroke based on some mechanism
5in matchbox-desktop.
6
7Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
8
9
10Index: matchbox-stroke/matchbox-stroke.desktop
11===================================================================
12--- matchbox-stroke.orig/matchbox-stroke.desktop 2010-07-10 10:23:26.000000000 +0800
13+++ matchbox-stroke/matchbox-stroke.desktop 2010-12-22 20:59:26.000000000 +0800
14@@ -6,3 +6,5 @@
15 Icon=matchbox-stroke.png
16 Categories=Panel;Utility;MB
17 X-MB-INPUT-MECHANSIM=True
18+X-MB-SingleInstance=true
19+StartupNotify=true
diff --git a/meta/recipes-sato/matchbox-stroke/matchbox-stroke_svn.bb b/meta/recipes-sato/matchbox-stroke/matchbox-stroke_svn.bb
index 1e25369e37..b0e77acbf8 100644
--- a/meta/recipes-sato/matchbox-stroke/matchbox-stroke_svn.bb
+++ b/meta/recipes-sato/matchbox-stroke/matchbox-stroke_svn.bb
@@ -10,6 +10,7 @@ SECTION = "x11/wm"
10PV = "0.0+svnr${SRCREV}" 10PV = "0.0+svnr${SRCREV}"
11 11
12SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \ 12SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \
13 file://single-instance.patch;patch=1 \
13 file://configure_fix.patch;patch=1;maxrev=1819 " 14 file://configure_fix.patch;patch=1;maxrev=1819 "
14 15
15S = "${WORKDIR}/${PN}" 16S = "${WORKDIR}/${PN}"