has_parent
while (mp->m_flink == NULL && has_parent(mp))
if (S_IS_EXPOSE(state) && mp->m_blink == NULL && has_parent(mp))