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:45:06 -0400
committerChris Michael <cp.michael@samsung.com>2017-06-09 12:30:42 -0400
commitb897780189a6bd8fb24446b3e636d177170aef5c (patch)
tree4f4d1563736a259e9fb41e72795b8a61f09fd688 /src/lib/ecore_wl2/ecore_wl2.c
parent1eaaab93b19562be1640e25d9b69fec372b00fa6 (diff)
ecore-wl2: Add API and Event for window rotation change done
@feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2.c')
-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 03595f56b1..f404972e54 100644
--- a/src/lib/ecore_wl2/ecore_wl2.c
+++ b/src/lib/ecore_wl2/ecore_wl2.c
@@ -43,6 +43,7 @@ EAPI 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; 44EAPI int ECORE_Wl2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE = 0;
45EAPI int ECORE_Wl2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST = 0; 45EAPI int ECORE_Wl2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST = 0;
46EAPI int ECORE_Wl2_EVENT_WINDOW_ROTATION_CHANGE_DONE = 0;
46 47
47EAPI int _ecore_wl2_event_window_www = -1; 48EAPI int _ecore_wl2_event_window_www = -1;
48EAPI int _ecore_wl2_event_window_www_drag = -1; 49EAPI int _ecore_wl2_event_window_www_drag = -1;
@@ -116,6 +117,7 @@ ecore_wl2_init(void)
116 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE = 117 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE =
117 ecore_event_type_new(); 118 ecore_event_type_new();
118 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST = ecore_event_type_new(); 119 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST = ecore_event_type_new();
120 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_DONE = ecore_event_type_new();
119 } 121 }
120 if (!no_session_recovery) 122 if (!no_session_recovery)
121 no_session_recovery = !!getenv("EFL_NO_WAYLAND_SESSION_RECOVERY"); 123 no_session_recovery = !!getenv("EFL_NO_WAYLAND_SESSION_RECOVERY");
@@ -176,7 +178,8 @@ ecore_wl2_shutdown(void)
176 ECORE_WL2_EVENT_OUTPUT_TRANSFORM, 178 ECORE_WL2_EVENT_OUTPUT_TRANSFORM,
177 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE, 179 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE,
178 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE, 180 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE,
179 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST); 181 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST,
182 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_DONE);
180 183
181 /* shutdown Ecore_Event */ 184 /* shutdown Ecore_Event */
182 ecore_event_shutdown(); 185 ecore_event_shutdown();