fix: ensure X window focus on unmap/map

This commit is contained in:
RipleyTom 2026-07-23 19:28:32 +02:00 • committed by Victoria Brekenfeld
parent 44de3063ee
commit 5ce21fb4f3
3 changed files with 25 additions and 2 deletions

View file

@ -858,7 +858,7 @@ impl XwmHandler for State {
if let Some(target) = res {
let seat = shell.seats.last_active().clone();
std::mem::drop(shell);
Shell::set_focus(self, Some(&target), &seat, None, false);
Shell::set_focus_on_x11_map(self, &target, &seat, false);
}
}
}