keyboard: Rename realize to resolve

This commit is contained in:
Kenny Levinsen
2023-02-13 19:43:15 +01:00
parent 022f6a719a
commit 59e2f658db
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ impl Keyboard {
} }
} }
pub fn realize(&mut self) { pub fn resolve(&mut self) {
if self.state.is_some() { if self.state.is_some() {
return; return;
} }
+1 -1
View File
@@ -241,6 +241,6 @@ 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();
state.keyboard.realize(); state.keyboard.resolve();
} }
} }