Wait for all reparent-induced unmaps before restoring focus
This is a rewrite of the incorrect fix from !657 (merged), with an earlier version of the MR that I believe correctly fix the issue.
This is a rewrite of the incorrect fix from !657 (merged), with an earlier version of the MR that I believe correctly fix the issue.