mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-25 11:33:35 +03:00
prevent ctrl-click events (#465)
This commit is contained in:
parent
8f0f1b19df
commit
d7db132c76
@ -193,6 +193,8 @@ export class Window {
|
||||
ipcMain.on('window-set-title', (_event, title) => {
|
||||
this.window.setTitle(title)
|
||||
})
|
||||
|
||||
this.window.webContents.on('new-window', event => event.preventDefault())
|
||||
}
|
||||
|
||||
private destroy () {
|
||||
|
Loading…
Reference in New Issue
Block a user