Newer vnc servers like TigerVNC support automatically resizing the vnc framebuffer when the client's window is resized. I think this is accomplished through SetDesktopSize:
https://vncdotool.readthedocs.io/en/0.8.0/rfbproto.html#setdesktopsize
Would it be possible for vncdotool to support resizing the desktop via this mechanism?