Fix inputd path parsing.

This commit is contained in:
4lDO2
2023-11-25 11:06:39 +01:00
parent ea73da92bf
commit 2e1e007836
+1 -1
View File
@@ -516,7 +516,7 @@ pub fn main() {
"vesa"
} else {
// TODO: What should we do when there are multiple display devices?
device[0].split('/').nth(2).unwrap()
device[0][2..].split('.').nth(1).unwrap()
};
let mut handle =