summaryrefslogtreecommitdiffstats
path: root/meta-efl/recipes-efl/e17/eve/0001-eve-remove-unconditional-ewk_view_context_menu_forwa.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-efl/recipes-efl/e17/eve/0001-eve-remove-unconditional-ewk_view_context_menu_forwa.patch')
-rw-r--r--meta-efl/recipes-efl/e17/eve/0001-eve-remove-unconditional-ewk_view_context_menu_forwa.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-efl/recipes-efl/e17/eve/0001-eve-remove-unconditional-ewk_view_context_menu_forwa.patch b/meta-efl/recipes-efl/e17/eve/0001-eve-remove-unconditional-ewk_view_context_menu_forwa.patch
new file mode 100644
index 000000000..bb86e9827
--- /dev/null
+++ b/meta-efl/recipes-efl/e17/eve/0001-eve-remove-unconditional-ewk_view_context_menu_forwa.patch
@@ -0,0 +1,34 @@
1From cff40dddea01d217fc3789c2c8e3337ea2ec34b7 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Mon, 21 Feb 2011 10:29:47 +0100
4Subject: [PATCH] eve: remove unconditional ewk_view_context_menu_forward_event call
5
6* ewk_view_context_menu_forward_event is not available in ewebkit lib (only in API)
7 after https://bugs.webkit.org/show_bug.cgi?id=51530
8---
9 src/bin/view.c | 9 +++++++--
10 1 files changed, 7 insertions(+), 2 deletions(-)
11
12diff --git a/src/bin/view.c b/src/bin/view.c
13index d743d75..5493b20 100644
14--- a/src/bin/view.c
15+++ b/src/bin/view.c
16@@ -1200,8 +1200,13 @@ _view_smart_mouse_down(Ewk_View_Smart_Data *esd, const Evas_Event_Mouse_Down *ev
17 return EINA_TRUE;
18
19 forward_event:
20- if (ev->button == 3) // forward of context menu event is special
21- return ewk_view_context_menu_forward_event(sd->base.self, ev);
22+ /* https://bugs.webkit.org/show_bug.cgi?id=51530
23+ * made ewk_view_context_menu_forward_event conditionally available
24+ * but didn't change it in ewk_view.h, so this compiles fine, but later
25+ * linker fails. Remove this part here temporary before proper solution is found
26+ * if (ev->button == 3) // forward of context menu event is special
27+ * return ewk_view_context_menu_forward_event(sd->base.self, ev);
28+ */
29
30 /* If we should forward/feed event using parent class method, then
31 * just do it and do NOT create an animator. See _view_smart_mouse_up().
32--
331.7.4.1
34