Resolve keyboard after first draw

This commit is contained in:
Kenny Levinsen
2023-11-10 13:59:09 +01:00
parent 8835708b31
commit 921938cc0d
+3
View File
@@ -255,5 +255,8 @@ fn main() {
surface.attach(Some(&buf.buffer), 0, 0); surface.attach(Some(&buf.buffer), 0, 0);
surface.commit(); surface.commit();
conn.flush().unwrap(); conn.flush().unwrap();
// Now is a good as time as any to load the keymap
state.keyboard.resolve();
} }
} }