XWayland keyboard grab protocol

This commit is contained in:
Ian Douglas Scott 2023-08-07 16:15:19 -07:00
parent 5ecee3c559
commit c3dddb9917
5 changed files with 25 additions and 2 deletions

View file

@ -69,6 +69,7 @@ use smithay::{
shell::{kde::decoration::KdeDecorationState, xdg::decoration::XdgDecorationState},
shm::ShmState,
viewporter::ViewporterState,
xwayland_keyboard_grab::XWaylandKeyboardGrabState,
},
};
use tracing::error;
@ -299,6 +300,7 @@ impl State {
let wl_drm_state = WlDrmState;
let kde_decoration_state = KdeDecorationState::new::<Self>(&dh, Mode::Client);
let xdg_decoration_state = XdgDecorationState::new::<Self>(&dh);
XWaylandKeyboardGrabState::new::<Self>(&dh);
let shell = Shell::new(&config, dh);