keyboard: replace xkbcommon by kbvm
This commit is contained in:
parent
51ceba72b0
commit
541a7b5ebc
23 changed files with 532 additions and 738 deletions
|
|
@ -29,6 +29,13 @@ impl<T> SyncQueue<T> {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn append(&self, src: &mut Vec<T>) {
|
||||
unsafe {
|
||||
self.el.get().deref_mut().extend(src.drain(..));
|
||||
}
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn pop(&self) -> Option<T> {
|
||||
unsafe { self.el.get().deref_mut().pop_front() }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue