From 4290e4584168f9ac44ac2d8e1439bf1bd48e0558 Mon Sep 17 00:00:00 2001 From: webadderall <131426131+webadderall@users.noreply.github.com> Date: Mon, 16 Mar 2026 22:18:21 +1100 Subject: [PATCH] fix(comment): correct hide-cursor handler explanation for WGC/SCK/Linux --- electron/ipc/handlers.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/electron/ipc/handlers.ts b/electron/ipc/handlers.ts index 44fcda9e..772e5ff9 100644 --- a/electron/ipc/handlers.ts +++ b/electron/ipc/handlers.ts @@ -2748,9 +2748,11 @@ export function registerIpcHandlers( // The IPC promise resolves only after the cursor hide attempt completes. // --------------------------------------------------------------------------- ipcMain.handle('hide-cursor', () => { - // No-op: macOS uses native ScreenCaptureKit (cursor excluded at capture - // level), and Win/Linux use Electron desktopCapturer where cursor hiding - // is not reliably supported. + // No-op: macOS excludes the cursor at the ScreenCaptureKit capture level. + // Windows excludes the cursor via IsCursorCaptureEnabled(false) in wgc_session.cpp. + // Linux uses Electron desktopCapturer which does not support cursor hiding; + // if WGC is unavailable on Windows the call also falls back to browser capture + // where cursor hiding is unsupported — those users may see the real cursor. return { success: true } })