Smithay / smithay

A smithy for rusty wayland compositors
MIT License
1.88k stars 166 forks source link

anvil: Newly placed windows are activated but don't receive keyboard focus #1278

Open mwcampbell opened 10 months ago

mwcampbell commented 10 months ago

I noticed that when a new window is placed (mapped), it's activated, but it doesn't receive keyboard focus. Is this deliberate, an oversight, or a limitation of the design?

i509VCB commented 10 months ago

Technically receiving keyboard focus is not required, but typically in a stacking window manager the new window will get keyboard focus.

I suspect activated and not getting focus is a bug for anvil.