On X11, extract event handlers
Make code more clear wrt explicit returns during event handling, which may lead to skipped IME event handling.
This commit is contained in:
parent
dbe0f852da
commit
273984a385
6 changed files with 1400 additions and 1349 deletions
|
|
@ -1025,7 +1025,7 @@ fn mkdid(w: xinput::DeviceId) -> crate::event::DeviceId {
|
|||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
struct Device {
|
||||
pub struct Device {
|
||||
_name: String,
|
||||
scroll_axes: Vec<(i32, ScrollAxis)>,
|
||||
// For master devices, this is the paired device (pointer <-> keyboard).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue