mirror of
https://github.com/amitbet/vncproxy.git
synced 2025-11-03 10:39:07 +00:00
general refactoring + fixed setcursorpseudo
This commit is contained in:
@@ -24,7 +24,7 @@ func (cc *ClientUpdater) Consume(seg *common.RfbSegment) error {
|
||||
case common.SetPixelFormatMsgType:
|
||||
// update pixel format
|
||||
logger.Debugf("ClientUpdater.Consume: updating pixel format")
|
||||
pixFmtMsg := clientMsg.(*server.SetPixelFormat)
|
||||
pixFmtMsg := clientMsg.(*server.MsgSetPixelFormat)
|
||||
cc.conn.PixelFormat = pixFmtMsg.PF
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user