Fix(macOS): restore dblclick for MAC touch, fix scroll speed (10px→40px per notch)

This commit is contained in:
yuanyuanxiang
2026-06-04 15:33:12 +02:00
parent be09b271e1
commit fc0be64880
3 changed files with 15 additions and 10 deletions

View File

@@ -1600,6 +1600,9 @@ std::string CWebService::BuildDeviceListJson(const std::string& username) {
device["screen"] = AnsiToUtf8(resolution); // e.g. "2:3840x1080"
}
CString clientType = ctx->GetAdditionalData(RES_CLIENT_TYPE);
device["clientType"] = AnsiToUtf8(clientType); // e.g. "MAC", "LNX", "EXE"
res["devices"].append(device);
}
LeaveCriticalSection(&m_pParentDlg->m_cs);