mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
SDA-1897 Unify screenshare indicator frame handling for window/fullscreen
This commit is contained in:
parent
e94fb41e47
commit
46283a3b64
@ -604,7 +604,7 @@ export class WindowHandler {
|
||||
if (type === 'window') {
|
||||
const hwnd = source.id.split(':')[1];
|
||||
this.execCmd(this.screenShareIndicatorFrameUtil, [ hwnd ]);
|
||||
} else if (type === 'screen') {
|
||||
} else if (isMac && type === 'screen') {
|
||||
const dispId = source.id.split(':')[1];
|
||||
this.execCmd(this.screenShareIndicatorFrameUtil, [ dispId ]);
|
||||
}
|
||||
@ -802,7 +802,9 @@ export class WindowHandler {
|
||||
displays.forEach((element) => {
|
||||
if (displayId === element.id.toString()) {
|
||||
logger.info(`window-handler: element:`, element);
|
||||
if (isLinux) {
|
||||
if (isWindowsOS) {
|
||||
this.execCmd(this.screenShareIndicatorFrameUtil, [ displayId ]);
|
||||
} else if (isLinux) {
|
||||
this.createScreenSharingFrameWindow('screen-sharing-frame',
|
||||
element.workArea.width,
|
||||
element.workArea.height,
|
||||
|
Loading…
Reference in New Issue
Block a user