shell: Fix repeated window grabs in more scenarios

This commit is contained in:
Victoria Brekenfeld 2023-04-20 16:19:52 +02:00
parent 33eedb0b58
commit 8943aa5a15
2 changed files with 8 additions and 4 deletions

View file

@ -435,6 +435,7 @@ impl PointerTarget<State> for CosmicWindow {
PointerTarget::enter(&p.window, seat, data, &event)
}
} else {
p.swap_focus(Focus::Window);
PointerTarget::enter(&p.window, seat, data, event)
}
false