summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2.c
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-06-27 09:41:03 -0400
committerChris Michael <cp.michael@samsung.com>2017-06-27 09:47:43 -0400
commit640caf1d9c7510064c78ced9021c55611a6e66b0 (patch)
tree8fa46ccaee3b5be4664f4cffd92468d5b6f7ea9c /src/lib/ecore_wl2/ecore_wl2.c
parentb12b26d4c03e78425784dbbd075d22e613390120 (diff)
ecore-wl2: Add client-side event for Window Activate
This patch adds and sends a client-side event when a window gets activated. '#divergence' @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2.c b/src/lib/ecore_wl2/ecore_wl2.c
index 767b5c1e9b..4cecffab60 100644
--- a/src/lib/ecore_wl2/ecore_wl2.c
+++ b/src/lib/ecore_wl2/ecore_wl2.c
@@ -48,6 +48,7 @@ EAPI int ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_DONE = 0;
48EAPI int ECORE_WL2_EVENT_AUX_HINT_ALLOWED = 0; 48EAPI int ECORE_WL2_EVENT_AUX_HINT_ALLOWED = 0;
49EAPI int ECORE_WL2_EVENT_WINDOW_SHOW = 0; 49EAPI int ECORE_WL2_EVENT_WINDOW_SHOW = 0;
50EAPI int ECORE_WL2_EVENT_WINDOW_HIDE = 0; 50EAPI int ECORE_WL2_EVENT_WINDOW_HIDE = 0;
51EAPI int ECORE_WL2_EVENT_WINDOW_ACTIVATE = 0;
51 52
52EAPI int _ecore_wl2_event_window_www = -1; 53EAPI int _ecore_wl2_event_window_www = -1;
53EAPI int _ecore_wl2_event_window_www_drag = -1; 54EAPI int _ecore_wl2_event_window_www_drag = -1;
@@ -126,6 +127,7 @@ ecore_wl2_init(void)
126 ECORE_WL2_EVENT_AUX_HINT_ALLOWED = ecore_event_type_new(); 127 ECORE_WL2_EVENT_AUX_HINT_ALLOWED = ecore_event_type_new();
127 ECORE_WL2_EVENT_WINDOW_SHOW = ecore_event_type_new(); 128 ECORE_WL2_EVENT_WINDOW_SHOW = ecore_event_type_new();
128 ECORE_WL2_EVENT_WINDOW_HIDE = ecore_event_type_new(); 129 ECORE_WL2_EVENT_WINDOW_HIDE = ecore_event_type_new();
130 ECORE_WL2_EVENT_WINDOW_ACTIVATE = ecore_event_type_new();
129 } 131 }
130 if (!no_session_recovery) 132 if (!no_session_recovery)
131 no_session_recovery = !!getenv("EFL_NO_WAYLAND_SESSION_RECOVERY"); 133 no_session_recovery = !!getenv("EFL_NO_WAYLAND_SESSION_RECOVERY");
@@ -191,7 +193,8 @@ ecore_wl2_shutdown(void)
191 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_DONE, 193 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_DONE,
192 ECORE_WL2_EVENT_AUX_HINT_ALLOWED, 194 ECORE_WL2_EVENT_AUX_HINT_ALLOWED,
193 ECORE_WL2_EVENT_WINDOW_SHOW, 195 ECORE_WL2_EVENT_WINDOW_SHOW,
194 ECORE_WL2_EVENT_WINDOW_HIDE); 196 ECORE_WL2_EVENT_WINDOW_HIDE,
197 ECORE_WL2_EVENT_WINDOW_ACTIVATE);
195 198
196 /* shutdown Ecore_Event */ 199 /* shutdown Ecore_Event */
197 ecore_event_shutdown(); 200 ecore_event_shutdown();