Skip to content

Commit

Permalink
Report the touch capability for the seat
Browse files Browse the repository at this point in the history
  • Loading branch information
serebit committed Oct 21, 2023
1 parent 279ee10 commit e26dfa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input/seat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void Seat::new_input_device(wlr_input_device* device) {
break;
}

uint32_t caps = WL_SEAT_CAPABILITY_POINTER;
uint32_t caps = WL_SEAT_CAPABILITY_POINTER | WL_SEAT_CAPABILITY_TOUCH;
if (!keyboards.empty()) {
caps |= WL_SEAT_CAPABILITY_KEYBOARD;
}
Expand Down

0 comments on commit e26dfa8

Please sign in to comment.