Merge branch 'lock-on-hide' of https://github.com/EnricoMonese/keeweb into EnricoMonese-lock-on-hide

# Conflicts:
#	desktop/app.js
This commit is contained in:
antelle 2017-03-28 20:15:28 +02:00
commit cf88eb448f
1 changed files with 3 additions and 0 deletions

View File

@ -155,6 +155,9 @@ function createMainWindow() {
mainWindow.on('enter-full-screen', () => {
emitBackboneEvent('enter-full-screen');
});
mainWindow.on('hide', () => {
emitBackboneEvent('launcher-minimize');
});
restoreMainWindowPosition();
}