Windows are managed by the wm only when they are mapped, not when created