Unmap Xlib window when it is finalized without terminating app
Prior to this change, when Finalize() was called on the window, its event loop was terminated and it would remain on screen as a grayed out window. This change ensures that the window is unmapped properly when it is not owned by itself.
Fixes #14985 (closed)
Edited by Sankhesh Jhaveri