Update smithay

Updates for changes in https://github.com/Smithay/smithay/pull/1391.
This commit is contained in:
Ian Douglas Scott 2024-04-16 12:05:22 -07:00 committed by Victoria Brekenfeld
parent 5d5a510691
commit 17ddc7ce24
9 changed files with 27 additions and 25 deletions

View file

@ -1682,7 +1682,7 @@ impl State {
pointer.unset_grab(self, serial, time);
}
if keyboard.is_grabbed() {
keyboard.unset_grab();
keyboard.unset_grab(self);
}
}
Action::Workspace(key_num) => {
@ -2302,7 +2302,9 @@ impl State {
if let Some(focus) = keyboard_handle.current_focus() {
if let Some(descriptor) = workspace.node_desc(focus) {
let grab = SwapWindowGrab::new(seat.clone(), descriptor.clone());
keyboard_handle.set_grab(grab, serial);
drop(shell);
keyboard_handle.set_grab(self, grab, serial);
let mut shell = self.common.shell.write().unwrap();
shell.set_overview_mode(
Some(Trigger::KeyboardSwap(pattern, descriptor)),
self.common.event_loop_handle.clone(),