A guard meant for controlling sessions, applied to a session that never controls.
Short answer
With View Only and Show My Cursor enabled, RustDesk forwards the observer's pointer so the remote side can see it. But those events still went through the peer-control protection check. When the remote user moved their mouse, the check treated the observer as contending for control and stopped sending updates, so the observer cursor froze. The fix skips that check in View Only plus Show My Cursor sessions, and stops local pointer moves from taking over the client-side cursor display in View Only mode. It was merged as PR #15936 and closed issue #15214 .
The problem
RustDesk is an open-source, self-hostable remote desktop application.…