Merge pull request #1007 from johankwarnmarksymphony/sda-2115

fix: sda-2115 on windows the screen-share-indicator goes to background
This commit is contained in:
Johan Kwarnmark 2020-06-01 10:40:12 +02:00 committed by GitHub
commit 6138bd69bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -973,6 +973,7 @@ export class WindowHandler {
this.moveWindow(this.screenSharingIndicatorWindow, topPositionOfIndicatorScreen);
this.screenSharingIndicatorWindow.setVisibleOnAllWorkspaces(true);
this.screenSharingIndicatorWindow.setSkipTaskbar(true);
this.screenSharingIndicatorWindow.setAlwaysOnTop(true, 'screen-saver');
this.screenSharingIndicatorWindow.webContents.once('did-finish-load', () => {
if (!this.screenSharingIndicatorWindow || !windowExists(this.screenSharingIndicatorWindow)) {
return;