mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-27 17:31:36 -06:00
if display_id is empty we get it from getalldisplays
This commit is contained in:
parent
948ea35fbf
commit
0b3d9571e5
@ -739,7 +739,13 @@ export class WindowHandler {
|
||||
if (source.display_id !== '') {
|
||||
this.execCmd(this.screenShareIndicatorFrameUtil, [ source.display_id ]);
|
||||
} else {
|
||||
this.execCmd(this.screenShareIndicatorFrameUtil, [ '0' ]);
|
||||
const dispId = source.id.split(':')[1];
|
||||
const keyId = 'id';
|
||||
|
||||
logger.info('window-utils: dispId: ' + dispId);
|
||||
logger.info('window-utils: displays [' + dispId + '] [id]: ' + displays [dispId] [ keyId ]);
|
||||
|
||||
this.execCmd(this.screenShareIndicatorFrameUtil, [ displays [dispId] [ keyId ].toString() ]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user