mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-25 02:10:32 -06:00
Added window tracking to screen share indicator frame for Mac
This commit is contained in:
parent
f287c76549
commit
897febcfe0
@ -146,7 +146,7 @@
|
|||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"screen-snippet": "git+https://github.com/symphonyoss/ScreenSnippet2.git#v1.0.6",
|
"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"
|
"swift-search": "2.0.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -600,7 +600,7 @@ export class WindowHandler {
|
|||||||
ipcMain.once('screen-source-selected', (_event, source) => {
|
ipcMain.once('screen-source-selected', (_event, source) => {
|
||||||
if (source != null) {
|
if (source != null) {
|
||||||
logger.info(`window-handler: screen-source-selected`, source, id);
|
logger.info(`window-handler: screen-source-selected`, source, id);
|
||||||
if (isWindowsOS) {
|
if (isWindowsOS || isMac) {
|
||||||
const type = source.id.split(':')[0];
|
const type = source.id.split(':')[0];
|
||||||
if (type === 'window') {
|
if (type === 'window') {
|
||||||
const hwnd = source.id.split(':')[1];
|
const hwnd = source.id.split(':')[1];
|
||||||
|
Loading…
Reference in New Issue
Block a user