In katriawm[1], I'm still having issues with input focus. Clearly,
this is the hardest part to get right. At least in a simple WM like
this.
It's also annoying that X11 tends to "fall back" to sloppy focus. I
guess this is neccessary in WM-less operation: When there's no WM to
manage focus, the only thing you can do is give focus to the window
under the pointer.
It would be nice if there was a way to deactivate this. For example, a
function "XSetFocusModel()" with arguments like "SLOPPY" and "MANAGED"
where the latter never changes focus unless the WM says so.
Of course, X11 won't change anymore. And there are just too many
legacy applications.
I have not yet looked up how Wayland handles this, though.
____________________
0.
https://github.com/vain/katriawm