diff --git a/src/input.rs b/src/input.rs
index 3e05b7f78..b8d230479 100644
--- a/src/input.rs
+++ b/src/input.rs
@@ -463,18 +463,10 @@ impl<'a> InputEventQueuer for Reader<'a> {
}
fn is_blocked(&self) -> bool {
- self.blocking_wait.is_some()
+ self.blocking_wait().is_some()
}
- fn unblock_input(&mut self) -> bool {
- if !self.is_blocked() {
- return false;
- }
- self.blocking_wait = None;
- true
- }
-
- fn blocking_wait(&self) -> Option<&BlockingWait> {
- self.blocking_wait.as_ref()
+ fn blocking_wait(&self) -> MutexGuard