diff --git a/inputd/src/main.rs b/inputd/src/main.rs index 2a359f9b75..23f6b7b4e3 100644 --- a/inputd/src/main.rs +++ b/inputd/src/main.rs @@ -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 =