mirror of
https://github.com/finos/SymphonyElectron.git
synced 2026-07-30 08:07:56 -05:00
SDA-1897 Unify screenshare indicator frame handling for window/fullscreen
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user