diff --git a/CHANGELOG.md b/CHANGELOG.md index c19f394c..9670a432 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,10 @@ Release date: TBD - Fixed mis-aligned `+` button of tab bar. [#541](https://github.com/mattermost/desktop/issues/541) +#### Windows + - Fixed desktop notifications not working when the window has been minimized from inactive state. + [#522](https://github.com/mattermost/desktop/issues/522) + #### Mac - Fixed an issue where the text box didn't keep focus after uploading a file. [#341](https://github.com/mattermost/desktop/issues/341) diff --git a/src/main/mainWindow.js b/src/main/mainWindow.js index df75600e..da3a1b55 100644 --- a/src/main/mainWindow.js +++ b/src/main/mainWindow.js @@ -77,6 +77,7 @@ function createMainWindow(config, options) { // Ideally, app should detect that OS is shutting down. mainWindow.on('blur', () => { saveWindowState(boundsInfoPath, mainWindow); + mainWindow.blurWebView(); }); mainWindow.on('close', (event) => {