
MetaWindow is Mutters representation of a window and provides all the APIs about it, MetaWindowActor is just the ClutterActor that's drawing that window. So use a MetaWindow to create a WindowPreview instead of the window actor. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1307