forked from enlightenment/efl
Evas: Objects must not be focused with the seat is not allowed to emit events.
Seats that are not allowed to emit events must not be able to focus objects.
This commit is contained in:
parent
23278816b6
commit
9609dd7e0f
|
@ -167,6 +167,9 @@ _efl_canvas_object_seat_focus_add(Eo *eo_obj,
|
|||
if (efl_input_device_type_get(seat) != EFL_INPUT_DEVICE_CLASS_SEAT)
|
||||
return EINA_FALSE;
|
||||
|
||||
if (!efl_input_seat_event_filter_get(eo_obj, seat))
|
||||
return EINA_FALSE;
|
||||
|
||||
if (_already_focused(obj->focused_by_seats, seat))
|
||||
goto end;
|
||||
|
||||
|
|
Loading…
Reference in New Issue