Xwayland should work basically forever, so there’s no reason to rewrite anything. In time those features will get implemented, but I’m guessing you will need to change the scripts to use something other than wmctrl
unless that particular program gets updated
I understand completely, I don’t even update until I need to. In my case, screen capture works more consistently with Wayland than x11.