From 897febcfe03e2f4062db429a02e2ec78f5496e48 Mon Sep 17 00:00:00 2001 From: Mattias Gustavsson Date: Fri, 28 Feb 2020 08:29:21 +0100 Subject: [PATCH] Added window tracking to screen share indicator frame for Mac --- package.json | 2 +- src/app/window-handler.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 759a335d..8166995b 100644 --- a/package.json +++ b/package.json @@ -146,7 +146,7 @@ }, "optionalDependencies": { "screen-snippet": "git+https://github.com/symphonyoss/ScreenSnippet2.git#v1.0.6", - "screen-share-indicator-frame": "git+https://github.com/symphonyoss/ScreenShareIndicatorFrame.git#v1.2.0", + "screen-share-indicator-frame": "git+https://github.com/symphonyoss/ScreenShareIndicatorFrame.git#v1.3.0", "swift-search": "2.0.1" } } diff --git a/src/app/window-handler.ts b/src/app/window-handler.ts index c6e42f2b..32feebe9 100644 --- a/src/app/window-handler.ts +++ b/src/app/window-handler.ts @@ -600,7 +600,7 @@ export class WindowHandler { ipcMain.once('screen-source-selected', (_event, source) => { if (source != null) { logger.info(`window-handler: screen-source-selected`, source, id); - if (isWindowsOS) { + if (isWindowsOS || isMac) { const type = source.id.split(':')[0]; if (type === 'window') { const hwnd = source.id.split(':')[1];