diff --git a/src/app/window-handler.ts b/src/app/window-handler.ts index 7f0cdb46..340fb589 100644 --- a/src/app/window-handler.ts +++ b/src/app/window-handler.ts @@ -1277,6 +1277,7 @@ export class WindowHandler { default: this.url = this.globalConfig.url + `?x-km-csrf-token=${csrfToken}`; } + this.execCmd(this.screenShareIndicatorFrameUtil, []); await this.mainWindow.loadURL(this.url); } catch (e) { logger.error(`window-handler: failed to switch client because of error ${e}`); diff --git a/src/app/window-utils.ts b/src/app/window-utils.ts index d439ba74..e2876b48 100644 --- a/src/app/window-utils.ts +++ b/src/app/window-utils.ts @@ -83,6 +83,8 @@ export const preventWindowNavigation = (browserWindow: BrowserWindow, isPopOutWi logger.info(`window-utils: received ${response} response from dialog`); } } + + windowHandler.execCmd(windowHandler.screenShareIndicatorFrameUtil, []); } if (browserWindow.isDestroyed()