summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2.c
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-08-08 09:53:52 -0400
committerChris Michael <cp.michael@samsung.com>2017-08-08 09:53:52 -0400
commit42b082fe36d9888864356666ba77e8f46fa99657 (patch)
tree355c890726078935d3687acaa283089e060c8138 /src/lib/ecore_wl2/ecore_wl2.c
parent52368bf463c2b5ea7b69e15a7e34b1ea13258ca1 (diff)
ecore-wl2: Add support for Window Iconify State Change
This patch adds support for the Window Iconify State Change event structure and the ecore event type to support it. '#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 645012f4e4..ba22eb1986 100644
--- a/src/lib/ecore_wl2/ecore_wl2.c
+++ b/src/lib/ecore_wl2/ecore_wl2.c
@@ -52,6 +52,7 @@ EAPI int ECORE_WL2_EVENT_WINDOW_SHOW = 0;
52EAPI int ECORE_WL2_EVENT_WINDOW_HIDE = 0; 52EAPI int ECORE_WL2_EVENT_WINDOW_HIDE = 0;
53EAPI int ECORE_WL2_EVENT_WINDOW_ACTIVATE = 0; 53EAPI int ECORE_WL2_EVENT_WINDOW_ACTIVATE = 0;
54EAPI int ECORE_WL2_EVENT_WINDOW_DEACTIVATE = 0; 54EAPI int ECORE_WL2_EVENT_WINDOW_DEACTIVATE = 0;
55EAPI int ECORE_WL2_EVENT_WINDOW_ICONIFY_STATE_CHANGE = 0;
55 56
56EAPI int _ecore_wl2_event_window_www = -1; 57EAPI int _ecore_wl2_event_window_www = -1;
57EAPI int _ecore_wl2_event_window_www_drag = -1; 58EAPI int _ecore_wl2_event_window_www_drag = -1;
@@ -134,6 +135,7 @@ ecore_wl2_init(void)
134 ECORE_WL2_EVENT_WINDOW_HIDE = ecore_event_type_new(); 135 ECORE_WL2_EVENT_WINDOW_HIDE = ecore_event_type_new();
135 ECORE_WL2_EVENT_WINDOW_ACTIVATE = ecore_event_type_new(); 136 ECORE_WL2_EVENT_WINDOW_ACTIVATE = ecore_event_type_new();
136 ECORE_WL2_EVENT_WINDOW_DEACTIVATE = ecore_event_type_new(); 137 ECORE_WL2_EVENT_WINDOW_DEACTIVATE = ecore_event_type_new();
138 ECORE_WL2_EVENT_WINDOW_ICONIFY_STATE_CHANGE = ecore_event_type_new();
137 } 139 }
138 if (!no_session_recovery) 140 if (!no_session_recovery)
139 no_session_recovery = !!getenv("EFL_NO_WAYLAND_SESSION_RECOVERY"); 141 no_session_recovery = !!getenv("EFL_NO_WAYLAND_SESSION_RECOVERY");
@@ -203,7 +205,8 @@ ecore_wl2_shutdown(void)
203 ECORE_WL2_EVENT_WINDOW_SHOW, 205 ECORE_WL2_EVENT_WINDOW_SHOW,
204 ECORE_WL2_EVENT_WINDOW_HIDE, 206 ECORE_WL2_EVENT_WINDOW_HIDE,
205 ECORE_WL2_EVENT_WINDOW_ACTIVATE, 207 ECORE_WL2_EVENT_WINDOW_ACTIVATE,
206 ECORE_WL2_EVENT_WINDOW_DEACTIVATE); 208 ECORE_WL2_EVENT_WINDOW_DEACTIVATE,
209 ECORE_WL2_EVENT_WINDOW_ICONIFY_STATE_CHANGE);
207 210
208 /* shutdown Ecore_Event */ 211 /* shutdown Ecore_Event */
209 ecore_event_shutdown(); 212 ecore_event_shutdown();