We need to keep the miniaturizable flag in even when there is no titlebar, otherwise the miniaturize action has no effect.
window-resized