wayland: keyboard: track input method done events
This commit is contained in:
parent
551381f0b6
commit
d3a17813c0
4 changed files with 36 additions and 1 deletions
|
|
@ -184,6 +184,18 @@ impl<D: Display, K: Keyboard> Button<D, K> {
|
|||
&self.layout
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
pub fn keyboard(&self) -> &K
|
||||
{
|
||||
&self.kbd
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
pub fn keyboard_mut(&mut self) -> &mut K
|
||||
{
|
||||
&mut self.kbd
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
pub fn mod_state(&self) -> &[ModState; MODIFIERS_MAX]
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue