summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2.c
diff options
context:
space:
mode:
authorBruno Dilly <bdilly@profusion.mobi>2016-10-06 17:43:12 -0300
committerBruno Dilly <bdilly@profusion.mobi>2016-11-01 16:06:19 -0200
commit8bf74da7bcd6a52857380e35449609b712d78f03 (patch)
tree55388ea14c8bb4cb58fa5dfb4b711c73b99e9215 /src/lib/ecore_wl2/ecore_wl2.c
parent7aab35961fcd4a8cb93126ec38bf7690b2c5c7d8 (diff)
ecore_wl2: associate evas devices to input ecore events
So users would be able to differentiate between source seats.
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2.c b/src/lib/ecore_wl2/ecore_wl2.c
index 1855a96999..bbae13fc6b 100644
--- a/src/lib/ecore_wl2/ecore_wl2.c
+++ b/src/lib/ecore_wl2/ecore_wl2.c
@@ -33,6 +33,8 @@ EAPI int ECORE_WL2_EVENT_SYNC_DONE = 0;
33EAPI int ECORE_WL2_EVENT_OFFER_DATA_READY = 0; 33EAPI int ECORE_WL2_EVENT_OFFER_DATA_READY = 0;
34EAPI int ECORE_WL2_EVENT_SEAT_NAME_CHANGED = 0; 34EAPI int ECORE_WL2_EVENT_SEAT_NAME_CHANGED = 0;
35EAPI int ECORE_WL2_EVENT_SEAT_CAPABILITIES_CHANGED = 0; 35EAPI int ECORE_WL2_EVENT_SEAT_CAPABILITIES_CHANGED = 0;
36EAPI int ECORE_WL2_EVENT_DEVICE_ADDED = 0;
37EAPI int ECORE_WL2_EVENT_DEVICE_REMOVED = 0;
36 38
37EAPI int _ecore_wl2_event_window_www = -1; 39EAPI int _ecore_wl2_event_window_www = -1;
38EAPI int _ecore_wl2_event_window_www_drag = -1; 40EAPI int _ecore_wl2_event_window_www_drag = -1;
@@ -93,6 +95,8 @@ ecore_wl2_init(void)
93 ECORE_WL2_EVENT_OFFER_DATA_READY = ecore_event_type_new(); 95 ECORE_WL2_EVENT_OFFER_DATA_READY = ecore_event_type_new();
94 ECORE_WL2_EVENT_SEAT_NAME_CHANGED = ecore_event_type_new(); 96 ECORE_WL2_EVENT_SEAT_NAME_CHANGED = ecore_event_type_new();
95 ECORE_WL2_EVENT_SEAT_CAPABILITIES_CHANGED = ecore_event_type_new(); 97 ECORE_WL2_EVENT_SEAT_CAPABILITIES_CHANGED = ecore_event_type_new();
98 ECORE_WL2_EVENT_DEVICE_ADDED = ecore_event_type_new();
99 ECORE_WL2_EVENT_DEVICE_REMOVED = ecore_event_type_new();
96 _ecore_wl2_event_window_www = ecore_event_type_new(); 100 _ecore_wl2_event_window_www = ecore_event_type_new();
97 _ecore_wl2_event_window_www_drag = ecore_event_type_new(); 101 _ecore_wl2_event_window_www_drag = ecore_event_type_new();
98 } 102 }
@@ -146,6 +150,8 @@ ecore_wl2_shutdown(void)
146 ECORE_WL2_EVENT_OFFER_DATA_READY = 0; 150 ECORE_WL2_EVENT_OFFER_DATA_READY = 0;
147 ECORE_WL2_EVENT_SEAT_NAME_CHANGED = 0; 151 ECORE_WL2_EVENT_SEAT_NAME_CHANGED = 0;
148 ECORE_WL2_EVENT_SEAT_CAPABILITIES_CHANGED = 0; 152 ECORE_WL2_EVENT_SEAT_CAPABILITIES_CHANGED = 0;
153 ECORE_WL2_EVENT_DEVICE_ADDED = 0;
154 ECORE_WL2_EVENT_DEVICE_REMOVED = 0;
149 155
150 /* shutdown Ecore_Event */ 156 /* shutdown Ecore_Event */
151 ecore_event_shutdown(); 157 ecore_event_shutdown();