mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-03-22 05:34:01 -04:00
Add option to disable mouse input
This commit is contained in:
parent
dcd64ae48b
commit
58cc8551f8
3 changed files with 7 additions and 2 deletions
2
seat.c
2
seat.c
|
|
@ -118,7 +118,7 @@ update_capabilities(struct cg_seat *seat)
|
|||
if (!wl_list_empty(&seat->keyboard_groups)) {
|
||||
caps |= WL_SEAT_CAPABILITY_KEYBOARD;
|
||||
}
|
||||
if (!wl_list_empty(&seat->pointers)) {
|
||||
if (!wl_list_empty(&seat->pointers) && !seat->server->disable_mouse) {
|
||||
caps |= WL_SEAT_CAPABILITY_POINTER;
|
||||
}
|
||||
if (!wl_list_empty(&seat->touch)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue