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:17:36 -0400
committerChris Michael <cp.michael@samsung.com>2017-06-27 09:47:43 -0400
commit873b917e9e97026b42f51c7ae7d03f4bc022eb55 (patch)
tree9d1a91b2cc46d1ecc62c57801b830377775993c4 /src/lib/ecore_wl2/ecore_wl2.c
parenta7830b9c42b5f3e228bd264d1cf76980623d851a (diff)
ecore-wl2: Add client-side event for Window Show
Small patch to add and send a client-side event for when a window gets shown. '#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 c96ece51b2..bb3b00a1a0 100644
--- a/src/lib/ecore_wl2/ecore_wl2.c
+++ b/src/lib/ecore_wl2/ecore_wl2.c
@@ -46,6 +46,7 @@ EAPI int ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE = 0;
46EAPI int ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST = 0; 46EAPI int ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST = 0;
47EAPI int ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_DONE = 0; 47EAPI 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;
49 50
50EAPI int _ecore_wl2_event_window_www = -1; 51EAPI int _ecore_wl2_event_window_www = -1;
51EAPI int _ecore_wl2_event_window_www_drag = -1; 52EAPI int _ecore_wl2_event_window_www_drag = -1;
@@ -122,6 +123,7 @@ ecore_wl2_init(void)
122 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST = ecore_event_type_new(); 123 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST = ecore_event_type_new();
123 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_DONE = ecore_event_type_new(); 124 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_DONE = ecore_event_type_new();
124 ECORE_WL2_EVENT_AUX_HINT_ALLOWED = ecore_event_type_new(); 125 ECORE_WL2_EVENT_AUX_HINT_ALLOWED = ecore_event_type_new();
126 ECORE_WL2_EVENT_WINDOW_SHOW = ecore_event_type_new();
125 } 127 }
126 if (!no_session_recovery) 128 if (!no_session_recovery)
127 no_session_recovery = !!getenv("EFL_NO_WAYLAND_SESSION_RECOVERY"); 129 no_session_recovery = !!getenv("EFL_NO_WAYLAND_SESSION_RECOVERY");
@@ -185,7 +187,8 @@ ecore_wl2_shutdown(void)
185 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE, 187 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE,
186 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST, 188 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST,
187 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_DONE, 189 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_DONE,
188 ECORE_WL2_EVENT_AUX_HINT_ALLOWED); 190 ECORE_WL2_EVENT_AUX_HINT_ALLOWED,
191 ECORE_WL2_EVENT_WINDOW_SHOW);
189 192
190 /* shutdown Ecore_Event */ 193 /* shutdown Ecore_Event */
191 ecore_event_shutdown(); 194 ecore_event_shutdown();