Do not notify window-layout-changed if the window is about to be