fix: ensure X window focus on unmap/map
This commit is contained in:
parent
44de3063ee
commit
5ce21fb4f3
3 changed files with 25 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue