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
|
--- 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)
|