diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-23 18:15:03 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-23 18:15:03 +0100 |
commit | 7d995c58b1f3c34874110f6040021fd83d618732 (patch) | |
tree | 21db911783f88a232b3bc5a0f669b73833f63f1c /meta-efl/recipes-efl/efl/ecore/fix-ecore-fb-initialization.patch | |
parent | 1c2cf0868bcf72847a3150416f5b48e94ba512d4 (diff) | |
download | meta-openembedded-7d995c58b1f3c34874110f6040021fd83d618732.tar.gz |
meta-efl: import from meta-shr.
Not all dependencies are in yet e.g. eve is missing webkit-efl, but e-wm should build
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
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.patch | 28 |
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 | |||
8 | diff -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; | ||