Resolve keyboard after first draw
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user