electron-overlay-window icon indicating copy to clipboard operation
electron-overlay-window copied to clipboard

Add forward mouse option on AttachOptions and use it

Open LucasColomer opened this issue 1 year ago • 0 comments

On BrowserWindow the function setIgnoreMouseEvents (Documentation) have an option call forward.

If this option is set to true, mouse movements are transmitted to chromium.

so with this option, if the overlay is not focused, it still receives mouse movements. This allows the JS in the overlay to capture mouse movements and actions.

LucasColomer avatar Oct 12 '23 11:10 LucasColomer