Merge pull request #891 from mattias-symphony/master

fix: SDA-1831 Don't show screen share indicator on taskbar
This commit is contained in:
mattias-symphony
2020-03-04 14:30:34 +01:00
committed by GitHub

View File

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