StWindowImpl::updateActiveState() - draft