mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-21 19:07:59 +00:00
prevent ctrl-click events (#465)
This commit is contained in:
@@ -193,6 +193,8 @@ export class Window {
|
|||||||
ipcMain.on('window-set-title', (_event, title) => {
|
ipcMain.on('window-set-title', (_event, title) => {
|
||||||
this.window.setTitle(title)
|
this.window.setTitle(title)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
this.window.webContents.on('new-window', event => event.preventDefault())
|
||||||
}
|
}
|
||||||
|
|
||||||
private destroy () {
|
private destroy () {
|
||||||
|
Reference in New Issue
Block a user