Allow Cursor pseudo-encoding in session mode and cache last XFixes sprite

This commit is contained in:
Viktor Liu
2026-05-20 17:39:07 +02:00
parent f37e228cc2
commit b41d11bbbe
3 changed files with 27 additions and 22 deletions
-4
View File
@@ -604,10 +604,6 @@ func (s *Server) handleConnection(conn net.Conn) {
serverW: capturer.Width(),
serverH: capturer.Height(),
log: connLog,
// Virtual sessions run on Xvfb which has no usable cursor source,
// so we skip the Cursor pseudo-encoding and let the client's
// local fallback show instead.
disableCursor: header.mode == ModeSession,
}
sess.serve()
}