aboutsummaryrefslogtreecommitdiffstats
path: root/meta-efl/recipes-efl/efl/ecore/fix-ecore-fb-initialization.patch
blob: 55773a3b9890c4b78baa81a6b19d9fc6eff4ab13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From 657571197c9d369e12ae31b6777a1929fe3680ef Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Sat, 29 Oct 2011 00:16:55 +0200
Subject: [PATCH] ecore-fb: fix ts init

Upstream-Status: Pending

The whole ecore-fb init logic is somewhat flawed; with this patch we
get at least a working touchscreen w/ tslib again.

Signed-off-by: Michael 'Mickey' Lauer <mlauer@vanille-media.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 ecore/src/lib/ecore_fb/ecore_fb.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/lib/ecore_fb/ecore_fb.c b/src/lib/ecore_fb/ecore_fb.c
index 5b2b84b..a1904b3 100644
--- a/src/lib/ecore_fb/ecore_fb.c
+++ b/src/lib/ecore_fb/ecore_fb.c
@@ -46,6 +46,9 @@ ecore_fb_init(const char *name __UNUSED__)
    if (!ecore_fb_vt_init())
       return --_ecore_fb_init_count;
 
+   if (!ecore_fb_ts_init())
+      return --_ecore_fb_init_count;
+
    if (!oldhand)
      {
         oldhand = signal(SIGINT, nosigint);
@@ -77,6 +80,7 @@ ecore_fb_shutdown(void)
         oldhand = NULL;
      }
    
+   ecore_fb_ts_shutdown();
    ecore_fb_vt_shutdown();
 
    return _ecore_fb_init_count;
-- 
1.7.8.6