any1 / neatvnc

A liberally licensed VNC server library with a clean interface
ISC License
126 stars 31 forks source link

Apply any1/wayvnc#248 patch #104

Closed hollowshiroyuki closed 1 year ago

hollowshiroyuki commented 1 year ago

Apply any1/wayvnc#248 patch to avoid crashing when damage is drawn out of the screen.

Related issue hyprwm/Hyprland/issues/3723.

any1 commented 1 year ago

I decided to sanitise the damage in wayvnc instead. The compositor is responsible for sending correct data, but wayvnc still should never crash. Neat VNC should always be given the right data and its up to the user not to crash it.