shell: Focus new windows

This commit is contained in:
Victoria Brekenfeld 2022-07-06 23:35:17 +02:00
parent ae33728a4e
commit 65046f1265
2 changed files with 6 additions and 3 deletions

View file

@ -120,7 +120,7 @@ impl CompositorHandler for State {
Kind::Xdg(toplevel) => {
if self.toplevel_ensure_initial_configure(&toplevel) {
let output = active_output(&seat, &self.common);
self.common.shell.map_window(&window, &output);
self.common.shell.map_window(&window, &output, dh);
} else {
return;
}