summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/matchbox-keyboard/files/single-instance.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-sato/matchbox-keyboard/files/single-instance.patch')
-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 0000000..d0adc47
--- /dev/null
+++ b/meta/recipes-sato/matchbox-keyboard/files/single-instance.patch
@@ -0,0 +1,22 @@
1Multiple matchbox-keyboard instances would occupy whole screen and cause X
2window segfault(Bug 509). Making matchbox-keyboard singleton is one work
3around.
4
5This patch allow only one instance of matchbox-keyboard based on some mechanism
6in matchbox-desktop. In future, an applet and GTK-IM modules in
7matchbox-keyboard can be used to automatically map/unmap the virtual keyboard
8on demand.
9
10Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
11
12
13Index: matchbox-keyboard/matchbox-keyboard.desktop
14===================================================================
15--- matchbox-keyboard.orig/matchbox-keyboard.desktop 2010-12-22 20:41:40.000000000 +0800
16+++ matchbox-keyboard/matchbox-keyboard.desktop 2010-12-22 20:42:12.000000000 +0800
17@@ -6,3 +6,5 @@
18 Icon=matchbox-keyboard.png
19 Categories=Panel;Utility;MB
20 X-MB-INPUT-MECHANSIM=True
21+X-MB-SingleInstance=true
22+StartupNotify=true