aboutsummaryrefslogtreecommitdiffstats
path: root/meta-application-manager/recipes-application-framework/app-core/files/0001-hack-window-hide.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-application-manager/recipes-application-framework/app-core/files/0001-hack-window-hide.patch')
-rw-r--r--meta-application-manager/recipes-application-framework/app-core/files/0001-hack-window-hide.patch88
1 files changed, 88 insertions, 0 deletions
diff --git a/meta-application-manager/recipes-application-framework/app-core/files/0001-hack-window-hide.patch b/meta-application-manager/recipes-application-framework/app-core/files/0001-hack-window-hide.patch
new file mode 100644
index 0000000..69e904d
--- /dev/null
+++ b/meta-application-manager/recipes-application-framework/app-core/files/0001-hack-window-hide.patch
@@ -0,0 +1,88 @@
+--- a/src/appcore-efl.c
++++ b/src/appcore-efl.c
+@@ -610,7 +610,7 @@
+ static Eina_Bool __show_cb(void *data, int type, void *event)
+ {
+ #ifdef WAYLAND
+- Ecore_Wl_Event_Window_Activate *ev;
++ /*Ecore_Wl_Event_Window_Activate *ev;
+
+ ev = event;
+
+@@ -618,14 +618,14 @@
+ {
+ // This is child window. Skip!!!
+ return ECORE_CALLBACK_PASS_ON;
+- }
++ }*/
+
+- _DBG("[EVENT_TEST][EVENT] GET SHOW EVENT!!!. WIN:%x\n", ev->win);
++ _DBG("[EVENT_TEST][EVENT] GET SHOW EVENT!!!.\n");
+
+- if (!__exist_win((unsigned int)ev->win))
++ /*if (!__exist_win((unsigned int)ev->win))
+ __add_win((unsigned int)ev->win);
+ else
+- __update_win((unsigned int)ev->win, FALSE);
++ __update_win((unsigned int)ev->win, FALSE);*/
+
+ __visibility_cb(data, type, event);
+ #else
+@@ -661,14 +661,14 @@
+ static Eina_Bool __hide_cb(void *data, int type, void *event)
+ {
+ #ifdef WAYLAND
+- Ecore_Wl_Event_Window_Deactivate *ev;
++ //Ecore_Wl_Event_Window_Deactivate *ev;
+ int bvisibility = 0;
+
+- ev = event;
++ //ev = event;
+
+- _DBG("[EVENT_TEST][EVENT] GET HIDE EVENT!!!. WIN:%x\n", ev->win);
++ _DBG("[EVENT_TEST][EVENT] GET HIDE EVENT!!!.\n");
+
+- if (__exist_win((unsigned int)ev->win)) {
++ /*if (__exist_win((unsigned int)ev->win)) {
+ __delete_win((unsigned int)ev->win);
+
+ bvisibility = __check_visible();
+@@ -677,7 +677,7 @@
+ b_active = 0;
+ __do_app(AE_PAUSE, data, NULL);
+ }
+- }
++ }*/
+ #else
+ Ecore_X_Event_Window_Hide *ev;
+ int bvisibility = 0;
+@@ -704,12 +704,12 @@
+ static Eina_Bool __visibility_cb(void *data, int type, void *event)
+ {
+ #ifdef WAYLAND
+- Ecore_Wl_Event_Window_Activate *ev;
++ //Ecore_Wl_Event_Window_Activate *ev;
+ int bvisibility = 0;
+
+- ev = event;
++ //ev = event;
+
+- __update_win((unsigned int)ev->win, ev->fobscured);
++ //__update_win((unsigned int)ev->win, ev->fobscured);
+ #else
+ Ecore_X_Event_Window_Visibility_Change *ev;
+ int bvisibility = 0;
+@@ -777,10 +777,10 @@
+ {
+ _ret_if(ui == NULL);
+ #ifdef WAYLAND
+- ui->hshow =
++ /*ui->hshow =
+ ecore_event_handler_add(ECORE_WL_EVENT_WINDOW_ACTIVATE, __show_cb, ui);
+ ui->hhide =
+- ecore_event_handler_add(ECORE_WL_EVENT_WINDOW_DEACTIVATE, __hide_cb, ui);
++ ecore_event_handler_add(ECORE_WL_EVENT_WINDOW_DEACTIVATE, __hide_cb, ui);*/
+ #else
+ atom_parent = ecore_x_atom_get("_E_PARENT_BORDER_WINDOW");
+ if (!atom_parent)
+