summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-05-12 12:08:32 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-05-12 12:08:25 -0400
commit2e5251b36431e162fdb309c364661de2f80179b3 (patch)
treec1982df7ef40c02dfa89678664e7bd8cdcbd0765 /src/lib/ecore_wl2/ecore_wl2.c
parentd119fdded93feaf13d2c9ea6ca47b4d84b57bb08 (diff)
ecore-wl2: add events for changes in keymap, selection, and kbd repeat rate
@feature
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2.c b/src/lib/ecore_wl2/ecore_wl2.c
index 7c1b1f0b49..b9c9ec54fa 100644
--- a/src/lib/ecore_wl2/ecore_wl2.c
+++ b/src/lib/ecore_wl2/ecore_wl2.c
@@ -36,6 +36,9 @@ EAPI int ECORE_WL2_EVENT_SEAT_CAPABILITIES_CHANGED = 0;
36EAPI int ECORE_WL2_EVENT_DEVICE_ADDED = 0; 36EAPI int ECORE_WL2_EVENT_DEVICE_ADDED = 0;
37EAPI int ECORE_WL2_EVENT_DEVICE_REMOVED = 0; 37EAPI int ECORE_WL2_EVENT_DEVICE_REMOVED = 0;
38EAPI int ECORE_WL2_EVENT_WINDOW_CONFIGURE_COMPLETE = 0; 38EAPI int ECORE_WL2_EVENT_WINDOW_CONFIGURE_COMPLETE = 0;
39EAPI int ECORE_WL2_EVENT_SEAT_KEYMAP_CHANGED = 0;
40EAPI int ECORE_WL2_EVENT_SEAT_KEYBOARD_REPEAT_CHANGED = 0;
41EAPI int ECORE_WL2_EVENT_SEAT_SELECTION = 0;
39 42
40EAPI int _ecore_wl2_event_window_www = -1; 43EAPI int _ecore_wl2_event_window_www = -1;
41EAPI int _ecore_wl2_event_window_www_drag = -1; 44EAPI int _ecore_wl2_event_window_www_drag = -1;
@@ -101,6 +104,9 @@ ecore_wl2_init(void)
101 _ecore_wl2_event_window_www = ecore_event_type_new(); 104 _ecore_wl2_event_window_www = ecore_event_type_new();
102 _ecore_wl2_event_window_www_drag = ecore_event_type_new(); 105 _ecore_wl2_event_window_www_drag = ecore_event_type_new();
103 ECORE_WL2_EVENT_WINDOW_CONFIGURE_COMPLETE = ecore_event_type_new(); 106 ECORE_WL2_EVENT_WINDOW_CONFIGURE_COMPLETE = ecore_event_type_new();
107 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_SELECTION = ecore_event_type_new();
104 } 110 }
105 if (!no_session_recovery) 111 if (!no_session_recovery)
106 no_session_recovery = !!getenv("EFL_NO_WAYLAND_SESSION_RECOVERY"); 112 no_session_recovery = !!getenv("EFL_NO_WAYLAND_SESSION_RECOVERY");
@@ -154,7 +160,10 @@ ecore_wl2_shutdown(void)
154 ECORE_WL2_EVENT_SEAT_CAPABILITIES_CHANGED, 160 ECORE_WL2_EVENT_SEAT_CAPABILITIES_CHANGED,
155 ECORE_WL2_EVENT_DEVICE_ADDED, 161 ECORE_WL2_EVENT_DEVICE_ADDED,
156 ECORE_WL2_EVENT_DEVICE_REMOVED, 162 ECORE_WL2_EVENT_DEVICE_REMOVED,
157 ECORE_WL2_EVENT_WINDOW_CONFIGURE_COMPLETE); 163 ECORE_WL2_EVENT_WINDOW_CONFIGURE_COMPLETE,
164 ECORE_WL2_EVENT_SEAT_KEYMAP_CHANGED,
165 ECORE_WL2_EVENT_SEAT_KEYBOARD_REPEAT_CHANGED,
166 ECORE_WL2_EVENT_SEAT_SELECTION);
158 167
159 /* shutdown Ecore_Event */ 168 /* shutdown Ecore_Event */
160 ecore_event_shutdown(); 169 ecore_event_shutdown();