Share InputEventQueuer::is_blocked implementation

This commit is contained in:
Johannes Altmanninger
2025-04-18 20:37:52 +02:00
parent e490ba6fdf
commit bb1e3f3aba
2 changed files with 1 additions and 4 deletions

View File

@@ -450,9 +450,6 @@ fn paste_commit(&mut self) {
)));
}
fn is_blocked(&self) -> bool {
self.blocking_wait().is_some()
}
fn blocking_wait(&self) -> MutexGuard<Option<BlockingWait>> {
self.data.blocking_wait()
}

View File

@@ -1633,7 +1633,7 @@ fn blocking_wait(&self) -> MutexGuard<Option<BlockingWait>> {
NO_WAIT.lock().unwrap()
}
fn is_blocked(&self) -> bool {
false
self.blocking_wait().is_some()
}
fn on_mouse_left_click(&mut self, _position: ViewportPosition) {}