summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2.c
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-06-13 12:01:30 -0400
committerChris Michael <cp.michael@samsung.com>2017-06-13 12:57:17 -0400
commit3e1ad4d45a02d9653bcb4b6d41ba6139b261ae73 (patch)
tree5e4e25126c67d99a332c69647537528f6663b7be /src/lib/ecore_wl2/ecore_wl2.c
parent9de25efcffdabac77c895827ad0507776a17293c (diff)
ecore-wl2: Add event and structure for auxiliary hints
@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 d206618d37..c96ece51b2 100644
--- a/src/lib/ecore_wl2/ecore_wl2.c
+++ b/src/lib/ecore_wl2/ecore_wl2.c
@@ -45,6 +45,7 @@ EAPI int ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE = 0;
45EAPI int ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE = 0; 45EAPI 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;
48 49
49EAPI int _ecore_wl2_event_window_www = -1; 50EAPI int _ecore_wl2_event_window_www = -1;
50EAPI int _ecore_wl2_event_window_www_drag = -1; 51EAPI int _ecore_wl2_event_window_www_drag = -1;
@@ -120,6 +121,7 @@ ecore_wl2_init(void)
120 ecore_event_type_new(); 121 ecore_event_type_new();
121 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST = ecore_event_type_new(); 122 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST = ecore_event_type_new();
122 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_DONE = ecore_event_type_new(); 123 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_DONE = ecore_event_type_new();
124 ECORE_WL2_EVENT_AUX_HINT_ALLOWED = ecore_event_type_new();
123 } 125 }
124 if (!no_session_recovery) 126 if (!no_session_recovery)
125 no_session_recovery = !!getenv("EFL_NO_WAYLAND_SESSION_RECOVERY"); 127 no_session_recovery = !!getenv("EFL_NO_WAYLAND_SESSION_RECOVERY");
@@ -182,7 +184,8 @@ ecore_wl2_shutdown(void)
182 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE, 184 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE,
183 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE, 185 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE,
184 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST, 186 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST,
185 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_DONE); 187 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_DONE,
188 ECORE_WL2_EVENT_AUX_HINT_ALLOWED);
186 189
187 /* shutdown Ecore_Event */ 190 /* shutdown Ecore_Event */
188 ecore_event_shutdown(); 191 ecore_event_shutdown();