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.patch41
1 files changed, 41 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..55773a3b9
--- /dev/null
+++ b/meta-efl/recipes-efl/efl/ecore/fix-ecore-fb-initialization.patch
@@ -0,0 +1,41 @@
1From 657571197c9d369e12ae31b6777a1929fe3680ef Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 29 Oct 2011 00:16:55 +0200
4Subject: [PATCH] ecore-fb: fix ts init
5
6Upstream-Status: Pending
7
8The whole ecore-fb init logic is somewhat flawed; with this patch we
9get at least a working touchscreen w/ tslib again.
10
11Signed-off-by: Michael 'Mickey' Lauer <mlauer@vanille-media.de>
12Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13---
14 ecore/src/lib/ecore_fb/ecore_fb.c | 4 ++++
15 1 files changed, 4 insertions(+), 0 deletions(-)
16
17diff --git a/src/lib/ecore_fb/ecore_fb.c b/src/lib/ecore_fb/ecore_fb.c
18index 5b2b84b..a1904b3 100644
19--- a/src/lib/ecore_fb/ecore_fb.c
20+++ b/src/lib/ecore_fb/ecore_fb.c
21@@ -46,6 +46,9 @@ ecore_fb_init(const char *name __UNUSED__)
22 if (!ecore_fb_vt_init())
23 return --_ecore_fb_init_count;
24
25+ if (!ecore_fb_ts_init())
26+ return --_ecore_fb_init_count;
27+
28 if (!oldhand)
29 {
30 oldhand = signal(SIGINT, nosigint);
31@@ -77,6 +80,7 @@ ecore_fb_shutdown(void)
32 oldhand = NULL;
33 }
34
35+ ecore_fb_ts_shutdown();
36 ecore_fb_vt_shutdown();
37
38 return _ecore_fb_init_count;
39--
401.7.8.6
41