Update pointer focus immediately when decoration changes
In principle, it should be fine to update the focus immediately. This is to simplify relevant logic, which can be useful to improve how window closing is handled. If window is closed, we want to update focus immediately.
Edited by Vlad Zahorodnii