Vanessa 2023-01-28 00:06:47 +08:00
parent 22a926946c
commit 09155c78e9
4 changed files with 47 additions and 19 deletions

View file

@ -805,7 +805,7 @@ app.whenReady().then(() => {
})
ipcMain.on('siyuan-lock-screen', () => {
workspaces.forEach(item => {
BrowserWindow.getAllWindows().forEach(item => {
item.browserWindow.webContents.send('siyuan-lock-screen')
})
})