1
0
Fork 0
forked from wry/wry

ei: make handling of touchscreen events stricter

This commit is contained in:
Julian Orth 2024-11-28 11:25:04 +01:00
parent b52d754beb
commit 1495cc1f22
3 changed files with 32 additions and 16 deletions

View file

@ -37,6 +37,7 @@ impl<T> SyncQueue<T> {
unsafe { self.el.get().deref_mut().is_empty() }
}
#[expect(dead_code)]
pub fn is_not_empty(&self) -> bool {
!self.is_empty()
}