Move _is_desktop attribute to WindowBase