window: Fix deferred focus unsetting
In commit 4a76abff, we deferred unsetting focus and default until after the next draw, overlooking the case where the focus is set to another widget before we ever get to the unsetting.
Fixes: #3413 (closed)
In commit 4a76abff, we deferred unsetting focus and default until after the next draw, overlooking the case where the focus is set to another widget before we ever get to the unsetting.
Fixes: #3413 (closed)