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:27:54 -0400
committerChris Michael <cp.michael@samsung.com>2017-06-09 12:30:42 -0400
commit92d214d8f908c6468fd2262cb0fece507a581873 (patch)
tree6a071e241a723db96b549272a7a4e10728284516 /src/lib/ecore_wl2/ecore_wl2.c
parent9930929dbba5436ce5e408ecf1bac2893f1ab3be (diff)
ecore-wl2: Add API and event for window rotation change prepare
@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 fa4a7747b8..01286d88fd 100644
--- a/src/lib/ecore_wl2/ecore_wl2.c
+++ b/src/lib/ecore_wl2/ecore_wl2.c
@@ -40,6 +40,7 @@ EAPI int ECORE_WL2_EVENT_SEAT_KEYMAP_CHANGED = 0;
40EAPI int ECORE_WL2_EVENT_SEAT_KEYBOARD_REPEAT_CHANGED = 0; 40EAPI 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;
43 44
44EAPI int _ecore_wl2_event_window_www = -1; 45EAPI int _ecore_wl2_event_window_www = -1;
45EAPI int _ecore_wl2_event_window_www_drag = -1; 46EAPI int _ecore_wl2_event_window_www_drag = -1;
@@ -109,6 +110,7 @@ ecore_wl2_init(void)
109 ECORE_WL2_EVENT_SEAT_KEYBOARD_REPEAT_CHANGED = ecore_event_type_new(); 110 ECORE_WL2_EVENT_SEAT_KEYBOARD_REPEAT_CHANGED = ecore_event_type_new();
110 ECORE_WL2_EVENT_SEAT_SELECTION = ecore_event_type_new(); 111 ECORE_WL2_EVENT_SEAT_SELECTION = ecore_event_type_new();
111 ECORE_WL2_EVENT_OUTPUT_TRANSFORM = ecore_event_type_new(); 112 ECORE_WL2_EVENT_OUTPUT_TRANSFORM = ecore_event_type_new();
113 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE = ecore_event_type_new();
112 } 114 }
113 if (!no_session_recovery) 115 if (!no_session_recovery)
114 no_session_recovery = !!getenv("EFL_NO_WAYLAND_SESSION_RECOVERY"); 116 no_session_recovery = !!getenv("EFL_NO_WAYLAND_SESSION_RECOVERY");
@@ -166,7 +168,8 @@ ecore_wl2_shutdown(void)
166 ECORE_WL2_EVENT_SEAT_KEYMAP_CHANGED, 168 ECORE_WL2_EVENT_SEAT_KEYMAP_CHANGED,
167 ECORE_WL2_EVENT_SEAT_KEYBOARD_REPEAT_CHANGED, 169 ECORE_WL2_EVENT_SEAT_KEYBOARD_REPEAT_CHANGED,
168 ECORE_WL2_EVENT_SEAT_SELECTION, 170 ECORE_WL2_EVENT_SEAT_SELECTION,
169 ECORE_WL2_EVENT_OUTPUT_TRANSFORM); 171 ECORE_WL2_EVENT_OUTPUT_TRANSFORM,
172 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE);
170 173
171 /* shutdown Ecore_Event */ 174 /* shutdown Ecore_Event */
172 ecore_event_shutdown(); 175 ecore_event_shutdown();