Don't let overlays lose focus
if you open a new window while an overlay is mapped, the overlay should
stay focused
fix restoring pointer focus
I don't know why I thought it was working before. Maybe I should go do
something else.
remove comment
I don't know why it wasn't working before but now it does ¯\(ツ)/¯
(it wasn't caused by the just removed code either)
remove mysterious code
Why would a surface that's not keyboard interactive get focused? Let's
remove this for now and see if issues arise.
focus the previous client in the similar code too
refocus old client
When a layer surface is destroyed focus should be returned to the last
client. Luckily if there are multiple overlays the previous overlay
still gets focused.
simplify focus leave condition
enable pointer on layer surfaces
fix focus leave condition
needs refactoring and testing
send pressed keys to topmost layer surface
don't handle failed calloc
be consistent with the rest of the code
order variables more how like they are initialized
Reuse render() and struct timespec *now