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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
diff --git a/src/appcore-efl.c b/src/appcore-efl.c
index b70ee32..559b6d3 100644
--- a/src/appcore-efl.c
+++ b/src/appcore-efl.c
@@ -769,21 +769,22 @@ static void __set_wm_rotation_support(unsigned int win, unsigned int set)
static Eina_Bool __show_cb(void *data, int type, void *event)
{
#if defined(WAYLAND)
- Ecore_Wl_Event_Window_Show *ev;
+// Ecore_Wl_Event_Window_Show *ev;
- ev = event;
- if (ev->parent_win != 0) {
- /* This is child window. Skip!!! */
- return ECORE_CALLBACK_PASS_ON;
- }
+// ev = event;
+// if (ev->parent_win != 0) {
+// /* This is child window. Skip!!! */
+// return ECORE_CALLBACK_PASS_ON;
+// }
- _DBG("[EVENT_TEST][EVENT] GET SHOW EVENT!!!. WIN:%x, %d\n", ev->win, ev->data[0]);
+ _DBG("[EVENT_TEST][EVENT] GET SHOW EVENT!!!.\n");
+/*
if (!__find_win((unsigned int)ev->win))
__add_win((unsigned int)ev->win, (unsigned int)ev->data[0]);
else
__update_win((unsigned int)ev->win, (unsigned int)ev->data[0], FALSE);
-
+*/
#elif defined(X11)
Ecore_X_Event_Window_Show *ev;
@@ -808,7 +809,7 @@ static Eina_Bool __show_cb(void *data, int type, void *event)
static Eina_Bool __hide_cb(void *data, int type, void *event)
{
#if defined(WAYLAND)
- Ecore_Wl_Event_Window_Hide *ev;
+// Ecore_Wl_Event_Window_Hide *ev;
#elif defined(X11)
Ecore_X_Event_Window_Hide *ev;
#endif
@@ -816,8 +817,9 @@ static Eina_Bool __hide_cb(void *data, int type, void *event)
ev = event;
- _DBG("[EVENT_TEST][EVENT] GET HIDE EVENT!!!. WIN:%x\n", ev->win);
+ _DBG("[EVENT_TEST][EVENT] GET HIDE EVENT!!!.\n");
+/*
if (__find_win((unsigned int)ev->win)) {
__delete_win((unsigned int)ev->win);
bvisibility = __check_visible();
@@ -827,6 +829,7 @@ static Eina_Bool __hide_cb(void *data, int type, void *event)
__do_app(AE_PAUSE, data, NULL);
}
}
+*/
return ECORE_CALLBACK_RENEW;
}
@@ -834,10 +837,12 @@ static Eina_Bool __hide_cb(void *data, int type, void *event)
#if defined(WAYLAND)
static Eina_Bool __lower_cb(void *data, int type, void *event)
{
+/*
Ecore_Wl_Event_Window_Lower *ev;
ev = event;
if (!ev) return ECORE_CALLBACK_RENEW;
- _DBG("ECORE_WL_EVENT_WINDOW_LOWER window id:%u\n", ev->win);
+*/
+ _DBG("ECORE_WL_EVENT_WINDOW_LOWER\n");
appcore_group_lower();
return ECORE_CALLBACK_RENEW;
}
@@ -846,10 +851,10 @@ static Eina_Bool __lower_cb(void *data, int type, void *event)
static Eina_Bool __visibility_cb(void *data, int type, void *event)
{
#if defined(WAYLAND)
- Ecore_Wl_Event_Window_Visibility_Change *ev;
+// Ecore_Wl_Event_Window_Visibility_Change *ev;
int bvisibility = 0;
- ev = event;
- __update_win((unsigned int)ev->win, 0, ev->fully_obscured);
+// ev = event;
+// __update_win((unsigned int)ev->win, 0, ev->fully_obscured);
#elif defined(X11)
Ecore_X_Event_Window_Visibility_Change *ev;
int bvisibility = 0;
@@ -931,6 +936,7 @@ static void __add_climsg_cb(struct ui_priv *ui)
{
_ret_if(ui == NULL);
#if defined(WAYLAND)
+/*
ui->hshow =
ecore_event_handler_add(ECORE_WL_EVENT_WINDOW_SHOW, __show_cb, ui);
ui->hhide =
@@ -941,6 +947,7 @@ static void __add_climsg_cb(struct ui_priv *ui)
ui->hlower =
ecore_event_handler_add(ECORE_WL_EVENT_WINDOW_LOWER,
__lower_cb, ui);
+*/
#elif defined(X11)
ui->hshow =
ecore_event_handler_add(ECORE_X_EVENT_WINDOW_SHOW, __show_cb, ui);
|