mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-05 04:10:16 +01:00
This commit is contained in:
parent
22a926946c
commit
09155c78e9
4 changed files with 47 additions and 19 deletions
|
|
@ -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')
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue