summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ecore_wl2/Ecore_Wl2.h8
-rw-r--r--src/lib/ecore_wl2/ecore_wl2.c5
2 files changed, 12 insertions, 1 deletions
diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index eab1bfe3e7..06e5c84ac7 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -315,6 +315,13 @@ typedef struct _Ecore_Wl2_Event_Window_Deactivate
315 unsigned int event_win; 315 unsigned int event_win;
316} Ecore_Wl2_Event_Window_Deactivate; 316} Ecore_Wl2_Event_Window_Deactivate;
317 317
318typedef struct _Ecore_Wl2_Event_Window_Iconify_State_Change
319{
320 unsigned int win;
321 unsigned int iconified;
322 unsigned int force;
323} Ecore_Wl2_Event_Window_Iconify_State_Change;
324
318typedef enum _Ecore_Wl2_Window_Type 325typedef enum _Ecore_Wl2_Window_Type
319{ 326{
320 ECORE_WL2_WINDOW_TYPE_NONE, 327 ECORE_WL2_WINDOW_TYPE_NONE,
@@ -395,6 +402,7 @@ EAPI extern int ECORE_WL2_EVENT_WINDOW_SHOW; /** @since 1.20 */
395EAPI extern int ECORE_WL2_EVENT_WINDOW_HIDE; /** @since 1.20 */ 402EAPI extern int ECORE_WL2_EVENT_WINDOW_HIDE; /** @since 1.20 */
396EAPI extern int ECORE_WL2_EVENT_WINDOW_ACTIVATE; /** @since 1.20 */ 403EAPI extern int ECORE_WL2_EVENT_WINDOW_ACTIVATE; /** @since 1.20 */
397EAPI extern int ECORE_WL2_EVENT_WINDOW_DEACTIVATE; /** @since 1.20 */ 404EAPI extern int ECORE_WL2_EVENT_WINDOW_DEACTIVATE; /** @since 1.20 */
405EAPI extern int ECORE_WL2_EVENT_WINDOW_ICONIFY_STATE_CHANGE; /** @since 1.21 */
398 406
399/** 407/**
400 * @file 408 * @file
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();