AFAIK there's no way to do so unless invent a new public function in window manager.
I'd love to do this in the future in my plan to refactor window manager.