diff --git a/src/app/rdp/RdpClient.tsx b/src/app/rdp/RdpClient.tsx index 5114646cb..75f351548 100644 --- a/src/app/rdp/RdpClient.tsx +++ b/src/app/rdp/RdpClient.tsx @@ -43,8 +43,6 @@ type FormState = { domain: string; kdcProxyUrl: string; pcb: string; - desktopWidth: number; - desktopHeight: number; enableClipboard: boolean; }; @@ -70,8 +68,6 @@ export default function RdpClient({ domain: "", kdcProxyUrl: "", pcb: "", - desktopWidth: 1280, - desktopHeight: 720, enableClipboard: true }); @@ -238,8 +234,8 @@ export default function RdpClient({ .withServerDomain(form.domain) .withAuthToken("test-token") .withDesktopSize({ - width: form.desktopWidth, - height: form.desktopHeight + width: window.innerWidth, + height: window.innerHeight }) .withExtension(exts.displayControl(true)); @@ -349,34 +345,7 @@ export default function RdpClient({ onChange={(e) => update("pcb", e.target.value)} /> */} -