I want to create a new window which acts as an overlay, now im trying to ignore cursor events , but it only works with the appWindow property.
const overlay = new WebviewWindow('overlay', {
url: '../overlay.html',
acceptFirstMouse: false,
alwaysOnTop: false, // TODO: change to true
center: true,
closable: false,
decorations: false,
fileDropEnabled: false,
focus: true,
fullscreen: true,
hiddenTitle: true,
maximizable: true,
maximized: true,
minimizable: false,
resizable: false,
skipTaskbar: true,
titleBarStyle: 'transparent',
transparent: true,
visible: true,
});
await overlay.setIgnoreCursorEvents(true);