aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_wl2/ecore_wl2_input.c
diff options
context:
space:
mode:
authorGuilherme Iscaro <iscaro@profusion.mobi>2016-11-16 17:04:02 -0200
committerBruno Dilly <bdilly@profusion.mobi>2016-11-16 17:50:32 -0200
commit9f8e2e0d9c9b4150cce2fc9bfb825d4f49ba7840 (patch)
tree59c58bc086076ec341d4d9395966ebd02dcd1966 /src/lib/ecore_wl2/ecore_wl2_input.c
parentevas: make sync and async work in the same way and not trigger empty flush/cl... (diff)
downloadefl-9f8e2e0d9c9b4150cce2fc9bfb825d4f49ba7840.tar.gz
Ecore Wayland: Remove ECORE_WL2_SEAT_CAPABILITIES_NO_SEAT.
Summary: It's not possible to have an Ecore_Wl2_Input without a seat. Ecore Evas Wayland: Remove seat existence check. At this point every seat advertised is considered new, therefore it will not be in the devices list. Reviewers: barbieri, jpeg, cedric, bdilly Reviewed By: bdilly Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4408
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_input.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_input.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_input.c b/src/lib/ecore_wl2/ecore_wl2_input.c
index c7829f88ca..3df8f46997 100644
--- a/src/lib/ecore_wl2/ecore_wl2_input.c
+++ b/src/lib/ecore_wl2/ecore_wl2_input.c
@@ -1589,10 +1589,8 @@ ecore_wl2_input_seat_capabilities_get(Ecore_Wl2_Input *input)
Ecore_Wl2_Seat_Capabilities cap = ECORE_WL2_SEAT_CAPABILITIES_NONE;
- EINA_SAFETY_ON_NULL_RETURN_VAL(input, ECORE_WL2_SEAT_CAPABILITIES_NO_SEAT);
+ EINA_SAFETY_ON_NULL_RETURN_VAL(input, cap);
- if (!input->wl.seat)
- return ECORE_WL2_SEAT_CAPABILITIES_NO_SEAT;
if (input->wl.keyboard)
cap |= ECORE_WL2_SEAT_CAPABILITIES_KEYBOARD;
if (input->wl.pointer)