summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2.c
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-06-07 10:33:54 -0400
committerChris Michael <cp.michael@samsung.com>2017-06-07 11:08:48 -0400
commita9e0148c62f7d15a4962eef0192ccf46db1dea38 (patch)
tree4cae608fba527eb61ea673e6d7e6e3fe5213b987 /src/lib/ecore_wl2/ecore_wl2.c
parent0a77b4e922acb8cdebc1e0e2e02fffcf34b39bef (diff)
ecore-wl2: Add event for output transformation
Some servers may need to do special animations or other effects when an output transformation happens, so raise an event in the output geometry callback when this happens. @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 b9c9ec54fa..fa4a7747b8 100644
--- a/src/lib/ecore_wl2/ecore_wl2.c
+++ b/src/lib/ecore_wl2/ecore_wl2.c
@@ -39,6 +39,7 @@ EAPI int ECORE_WL2_EVENT_WINDOW_CONFIGURE_COMPLETE = 0;
39EAPI int ECORE_WL2_EVENT_SEAT_KEYMAP_CHANGED = 0; 39EAPI 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;
42 43
43EAPI int _ecore_wl2_event_window_www = -1; 44EAPI int _ecore_wl2_event_window_www = -1;
44EAPI int _ecore_wl2_event_window_www_drag = -1; 45EAPI int _ecore_wl2_event_window_www_drag = -1;
@@ -107,6 +108,7 @@ ecore_wl2_init(void)
107 ECORE_WL2_EVENT_SEAT_KEYMAP_CHANGED = ecore_event_type_new(); 108 ECORE_WL2_EVENT_SEAT_KEYMAP_CHANGED = ecore_event_type_new();
108 ECORE_WL2_EVENT_SEAT_KEYBOARD_REPEAT_CHANGED = ecore_event_type_new(); 109 ECORE_WL2_EVENT_SEAT_KEYBOARD_REPEAT_CHANGED = ecore_event_type_new();
109 ECORE_WL2_EVENT_SEAT_SELECTION = ecore_event_type_new(); 110 ECORE_WL2_EVENT_SEAT_SELECTION = ecore_event_type_new();
111 ECORE_WL2_EVENT_OUTPUT_TRANSFORM = ecore_event_type_new();
110 } 112 }
111 if (!no_session_recovery) 113 if (!no_session_recovery)
112 no_session_recovery = !!getenv("EFL_NO_WAYLAND_SESSION_RECOVERY"); 114 no_session_recovery = !!getenv("EFL_NO_WAYLAND_SESSION_RECOVERY");
@@ -163,7 +165,8 @@ ecore_wl2_shutdown(void)
163 ECORE_WL2_EVENT_WINDOW_CONFIGURE_COMPLETE, 165 ECORE_WL2_EVENT_WINDOW_CONFIGURE_COMPLETE,
164 ECORE_WL2_EVENT_SEAT_KEYMAP_CHANGED, 166 ECORE_WL2_EVENT_SEAT_KEYMAP_CHANGED,
165 ECORE_WL2_EVENT_SEAT_KEYBOARD_REPEAT_CHANGED, 167 ECORE_WL2_EVENT_SEAT_KEYBOARD_REPEAT_CHANGED,
166 ECORE_WL2_EVENT_SEAT_SELECTION); 168 ECORE_WL2_EVENT_SEAT_SELECTION,
169 ECORE_WL2_EVENT_OUTPUT_TRANSFORM);
167 170
168 /* shutdown Ecore_Event */ 171 /* shutdown Ecore_Event */
169 ecore_event_shutdown(); 172 ecore_event_shutdown();