This should be implemented in [swayvnc-chrome](https://github.com/stephanlensky/swayvnc-chrome), see [this issue](https://github.com/stephanlensky/zendriver/issues/20) for more details.