summaryrefslogtreecommitdiff
path: root/meta/recipes-sato/matchbox-keyboard/files
diff options
context:
space:
mode:
authorZhai Edwin <edwin.zhai@intel.com>2010-12-22 20:53:50 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-23 14:28:21 +0000
commit4efbda84392e00829b9619ba4d8c49bdc5128606 (patch)
treecbd2493ba741feb4843bdb54b519eb3bd54889f7 /meta/recipes-sato/matchbox-keyboard/files
parent9bf19c0e1b94c6a9fe4d3965f25267b5d26cc8ce (diff)
downloadopenembedded-core-4efbda84392e00829b9619ba4d8c49bdc5128606.tar.gz
openembedded-core-4efbda84392e00829b9619ba4d8c49bdc5128606.tar.bz2
openembedded-core-4efbda84392e00829b9619ba4d8c49bdc5128606.zip
matchbox-keyboard: Make as singleton
Multiple matchbox-keyboard instances would occupy whole screen and cause X window segfault. Making matchbox-keyboard singleton is one work around. This patch allow only one instance of matchbox-keyboard based on some mechanism in matchbox-desktop. In future, an applet and GTK-IM modules in matchbox-keyboard can be used to automatically map/unmap the virtual keyboard on demand. [BUGID #509] got fixed. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Diffstat (limited to 'meta/recipes-sato/matchbox-keyboard/files')
-rw-r--r--meta/recipes-sato/matchbox-keyboard/files/single-instance.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-sato/matchbox-keyboard/files/single-instance.patch b/meta/recipes-sato/matchbox-keyboard/files/single-instance.patch
new file mode 100644
index 0000000000..d0adc47f75
--- /dev/null
+++ b/meta/recipes-sato/matchbox-keyboard/files/single-instance.patch
@@ -0,0 +1,22 @@
+Multiple matchbox-keyboard instances would occupy whole screen and cause X
+window segfault(Bug 509). Making matchbox-keyboard singleton is one work
+around.
+
+This patch allow only one instance of matchbox-keyboard based on some mechanism
+in matchbox-desktop. In future, an applet and GTK-IM modules in
+matchbox-keyboard can be used to automatically map/unmap the virtual keyboard
+on demand.
+
+Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
+
+
+Index: matchbox-keyboard/matchbox-keyboard.desktop
+===================================================================
+--- matchbox-keyboard.orig/matchbox-keyboard.desktop 2010-12-22 20:41:40.000000000 +0800
++++ matchbox-keyboard/matchbox-keyboard.desktop 2010-12-22 20:42:12.000000000 +0800
+@@ -6,3 +6,5 @@
+ Icon=matchbox-keyboard.png
+ Categories=Panel;Utility;MB
+ X-MB-INPUT-MECHANSIM=True
++X-MB-SingleInstance=true
++StartupNotify=true