From 00e1675f7bc58b8aeb07753c0631761f756646b5 Mon Sep 17 00:00:00 2001 From: Owen Date: Fri, 15 May 2026 12:08:40 -0700 Subject: [PATCH] Remove extra fields --- src/app/rdp/RdpClient.tsx | 42 +++++---------------------------------- src/app/rdp/page.tsx | 2 +- src/app/ssh/page.tsx | 2 +- src/app/vnc/page.tsx | 2 +- 4 files changed, 8 insertions(+), 40 deletions(-) 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)} /> */} -
- - - update( - "desktopWidth", - Number(e.target.value) || 0 - ) - } - /> - - - - update( - "desktopHeight", - Number(e.target.value) || 0 - ) - } - /> - -
+ {/* */} -
+ {/*
Enable Clipboard -
- +
*/}