1
0
Fork 0
forked from wry/wry

input: move capability conversion to libinput boundary

This commit is contained in:
kossLAN 2026-05-29 12:48:47 -04:00
parent a20deb0628
commit 46d39becd4
No known key found for this signature in database
5 changed files with 50 additions and 50 deletions

View file

@ -543,7 +543,7 @@ impl InputDevice for MetalInputDevice {
}
fn has_capability(&self, cap: InputDeviceCapability) -> bool {
let li = cap.to_libinput();
let li = crate::libinput::device_capability(cap);
match self.inputdev.get() {
Some(dev) => dev.device().has_cap(li),
_ => false,