1
0
Fork 0
forked from wry/wry

keyboard: move KeyboardState to dedicated module

This commit is contained in:
Julian Orth 2025-01-07 11:48:10 +01:00
parent 1a35ba3909
commit e7d5a23af3
16 changed files with 60 additions and 43 deletions

View file

@ -2,11 +2,11 @@ use {
crate::{
client::{Client, ClientError},
ifs::wl_seat::{text_input::zwp_input_method_v2::ZwpInputMethodV2, wl_keyboard},
keyboard::{KeyboardState, KeyboardStateId},
leaks::Tracker,
object::{Object, Version},
utils::errorfmt::ErrorFmt,
wire::{zwp_input_method_keyboard_grab_v2::*, ZwpInputMethodKeyboardGrabV2Id},
xkbcommon::{KeyboardState, KeyboardStateId},
},
std::{cell::Cell, rc::Rc},
thiserror::Error,

View file

@ -13,11 +13,11 @@ use {
ZwpInputPopupSurfaceV2, ZwpInputPopupSurfaceV2Error,
},
},
keyboard::KeyboardStateId,
leaks::Tracker,
object::{Object, Version},
utils::{clonecell::CloneCell, numcell::NumCell, smallmap::SmallMap},
wire::{zwp_input_method_v2::*, ZwpInputMethodV2Id, ZwpInputPopupSurfaceV2Id},
xkbcommon::KeyboardStateId,
},
std::{
cell::{Cell, RefCell},