Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
delete leftover ipc calls
Browse files Browse the repository at this point in the history
  • Loading branch information
gwleuverink committed Sep 16, 2024
1 parent 9662178 commit 28eb8fe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/server/api/window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,15 +189,13 @@ router.post('/open', (req, res) => {
}

window.on('blur', () => {
window.webContents.send('window:blur')
notifyLaravel('events', {
event: 'Native\\Laravel\\Events\\Windows\\WindowBlurred',
payload: [id]
})
});

window.on('focus', () => {
window.webContents.send('window:focus')
notifyLaravel('events', {
event: 'Native\\Laravel\\Events\\Windows\\WindowFocused',
payload: [id]
Expand Down

0 comments on commit 28eb8fe

Please sign in to comment.