mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-01-03 12:40:15 +01:00
tool: allow for touchscreen-only seat in the demo server
Part-of: <https://gitlab.freedesktop.org/libinput/libei/-/merge_requests/312>
This commit is contained in:
parent
1cf06d0af6
commit
11aa10393b
1 changed files with 2 additions and 1 deletions
|
|
@ -441,7 +441,8 @@ eis_demo_server_printf_handle_event(struct eis_demo_server *server,
|
|||
* This is a demo server after all, so let's demo this. */
|
||||
if (!eis_event_seat_has_capability(e, EIS_DEVICE_CAP_POINTER) &&
|
||||
!eis_event_seat_has_capability(e, EIS_DEVICE_CAP_POINTER_ABSOLUTE) &&
|
||||
!eis_event_seat_has_capability(e, EIS_DEVICE_CAP_KEYBOARD))
|
||||
!eis_event_seat_has_capability(e, EIS_DEVICE_CAP_KEYBOARD) &&
|
||||
!eis_event_seat_has_capability(e, EIS_DEVICE_CAP_TOUCH))
|
||||
eis_seat_remove(seat);
|
||||
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue