🔨 添加工具栏功能.

This commit is contained in:
lijiahangmax
2025-07-08 00:45:23 +08:00
parent fc151216f1
commit bfde435071
8 changed files with 78 additions and 16 deletions

View File

@@ -138,11 +138,6 @@ public class TerminalChannelExtra {
// -------------------- vnc --------------------
/**
* 交换红蓝
*/
private Boolean swapRedBlue;
/**
* 光标
*/

View File

@@ -71,6 +71,8 @@ public class VncSession extends AbstractGuacdSession<TerminalSessionVncConfig> i
tunnel.setParameter(GuacdConst.FORCE_LOSSLESS, extra.getForceLossless());
tunnel.setParameter(GuacdConst.COMPRESS_LEVEL, extra.getCompressLevel());
tunnel.setParameter(GuacdConst.QUALITY_LEVEL, extra.getQualityLevel());
// 交换红蓝
tunnel.setParameter(GuacdConst.SWAP_RED_BLUE, config.getSwapRedBlue());
// 光标设置
tunnel.setParameter(GuacdConst.CURSOR, extra.getCursor());
// 编码设置