summaryrefslogtreecommitdiffstats
path: root/meta-efl/recipes-efl/efl/ecore/fix-ecore-fb-initialization.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-efl/recipes-efl/efl/ecore/fix-ecore-fb-initialization.patch')
-rw-r--r--meta-efl/recipes-efl/efl/ecore/fix-ecore-fb-initialization.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-efl/recipes-efl/efl/ecore/fix-ecore-fb-initialization.patch b/meta-efl/recipes-efl/efl/ecore/fix-ecore-fb-initialization.patch
new file mode 100644
index 000000000..cd74c7ebd
--- /dev/null
+++ b/meta-efl/recipes-efl/efl/ecore/fix-ecore-fb-initialization.patch
@@ -0,0 +1,28 @@
1#
2# The whole ecore-fb init logic is somewhat flawed; with this patch we
3# get at least a working touchscreen w/ tslib again.
4#
5# Signed-off-by: Michael 'Mickey' Lauer <mlauer@vanille-media.de>
6#
7
8diff -uNr ecore.orig//src/lib/ecore_fb/ecore_fb.c ecore/src/lib/ecore_fb/ecore_fb.c
9--- ecore.orig//src/lib/ecore_fb/ecore_fb.c 2010-09-21 12:40:06.000000000 +0200
10+++ ecore/src/lib/ecore_fb/ecore_fb.c 2010-09-24 18:42:02.000000000 +0200
11@@ -39,6 +39,9 @@
12
13 if (!ecore_fb_vt_init())
14 return --_ecore_fb_init_count;
15+
16+ if (!ecore_fb_ts_init())
17+ return --_ecore_fb_init_count;
18
19 ECORE_FB_EVENT_KEY_DOWN = ecore_event_type_new();
20 ECORE_FB_EVENT_KEY_UP = ecore_event_type_new();
21@@ -63,6 +66,7 @@
22 if (--_ecore_fb_init_count != 0)
23 return _ecore_fb_init_count;
24
25+ ecore_fb_ts_shutdown();
26 ecore_fb_vt_shutdown();
27
28 return _ecore_fb_init_count;