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:42:31 -0400
committerChris Michael <cp.michael@samsung.com>2017-06-09 12:30:42 -0400
commit1eaaab93b19562be1640e25d9b69fec372b00fa6 (patch)
tree8f193e34829e9b653abdd80acb3ccab461194e52 /src/lib/ecore_wl2/ecore_wl2.c
parent3087f02ef296c172583cac96a5c783a787662596 (diff)
ecore-wl2: Add API and Event for window rotation change request
@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 9390189943..03595f56b1 100644
--- a/src/lib/ecore_wl2/ecore_wl2.c
+++ b/src/lib/ecore_wl2/ecore_wl2.c
@@ -42,6 +42,7 @@ EAPI 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; 44EAPI int ECORE_Wl2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE = 0;
45EAPI int ECORE_Wl2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST = 0;
45 46
46EAPI int _ecore_wl2_event_window_www = -1; 47EAPI int _ecore_wl2_event_window_www = -1;
47EAPI int _ecore_wl2_event_window_www_drag = -1; 48EAPI int _ecore_wl2_event_window_www_drag = -1;
@@ -114,6 +115,7 @@ ecore_wl2_init(void)
114 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE = ecore_event_type_new(); 115 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE = ecore_event_type_new();
115 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE = 116 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE =
116 ecore_event_type_new(); 117 ecore_event_type_new();
118 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST = ecore_event_type_new();
117 } 119 }
118 if (!no_session_recovery) 120 if (!no_session_recovery)
119 no_session_recovery = !!getenv("EFL_NO_WAYLAND_SESSION_RECOVERY"); 121 no_session_recovery = !!getenv("EFL_NO_WAYLAND_SESSION_RECOVERY");
@@ -173,7 +175,8 @@ ecore_wl2_shutdown(void)
173 ECORE_WL2_EVENT_SEAT_SELECTION, 175 ECORE_WL2_EVENT_SEAT_SELECTION,
174 ECORE_WL2_EVENT_OUTPUT_TRANSFORM, 176 ECORE_WL2_EVENT_OUTPUT_TRANSFORM,
175 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE, 177 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE,
176 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE); 178 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE,
179 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST);
177 180
178 /* shutdown Ecore_Event */ 181 /* shutdown Ecore_Event */
179 ecore_event_shutdown(); 182 ecore_event_shutdown();