summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2.c
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-06-09 10:39:00 -0400
committerChris Michael <cp.michael@samsung.com>2017-06-09 12:30:42 -0400
commit3087f02ef296c172583cac96a5c783a787662596 (patch)
tree5e966eb6dc60888170b396ac4cd691554f7e9d0a /src/lib/ecore_wl2/ecore_wl2.c
parent92d214d8f908c6468fd2262cb0fece507a581873 (diff)
ecore-wl2: Add API and Event for window rotation change prepare done
@feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2.c b/src/lib/ecore_wl2/ecore_wl2.c
index 01286d88fd..9390189943 100644
--- a/src/lib/ecore_wl2/ecore_wl2.c
+++ b/src/lib/ecore_wl2/ecore_wl2.c
@@ -41,6 +41,7 @@ EAPI int ECORE_WL2_EVENT_SEAT_KEYBOARD_REPEAT_CHANGED = 0;
41EAPI int ECORE_WL2_EVENT_SEAT_SELECTION = 0; 41EAPI int ECORE_WL2_EVENT_SEAT_SELECTION = 0;
42EAPI int ECORE_WL2_EVENT_OUTPUT_TRANSFORM = 0; 42EAPI int ECORE_WL2_EVENT_OUTPUT_TRANSFORM = 0;
43EAPI int ECORE_Wl2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE = 0; 43EAPI int ECORE_Wl2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE = 0;
44EAPI int ECORE_Wl2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE = 0;
44 45
45EAPI int _ecore_wl2_event_window_www = -1; 46EAPI int _ecore_wl2_event_window_www = -1;
46EAPI int _ecore_wl2_event_window_www_drag = -1; 47EAPI int _ecore_wl2_event_window_www_drag = -1;
@@ -111,6 +112,8 @@ ecore_wl2_init(void)
111 ECORE_WL2_EVENT_SEAT_SELECTION = ecore_event_type_new(); 112 ECORE_WL2_EVENT_SEAT_SELECTION = ecore_event_type_new();
112 ECORE_WL2_EVENT_OUTPUT_TRANSFORM = ecore_event_type_new(); 113 ECORE_WL2_EVENT_OUTPUT_TRANSFORM = ecore_event_type_new();
113 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE = ecore_event_type_new(); 114 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE = ecore_event_type_new();
115 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE =
116 ecore_event_type_new();
114 } 117 }
115 if (!no_session_recovery) 118 if (!no_session_recovery)
116 no_session_recovery = !!getenv("EFL_NO_WAYLAND_SESSION_RECOVERY"); 119 no_session_recovery = !!getenv("EFL_NO_WAYLAND_SESSION_RECOVERY");
@@ -169,7 +172,8 @@ ecore_wl2_shutdown(void)
169 ECORE_WL2_EVENT_SEAT_KEYBOARD_REPEAT_CHANGED, 172 ECORE_WL2_EVENT_SEAT_KEYBOARD_REPEAT_CHANGED,
170 ECORE_WL2_EVENT_SEAT_SELECTION, 173 ECORE_WL2_EVENT_SEAT_SELECTION,
171 ECORE_WL2_EVENT_OUTPUT_TRANSFORM, 174 ECORE_WL2_EVENT_OUTPUT_TRANSFORM,
172 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE); 175 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE,
176 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE);
173 177
174 /* shutdown Ecore_Event */ 178 /* shutdown Ecore_Event */
175 ecore_event_shutdown(); 179 ecore_event_shutdown();