If a user has my electron app’s window open, I would like a way to prevent other (nonelectron) windows, such as an internet browser window, from overlapping with the electron window.
This is a little different than the alwaysOnTop option. With that option, if the electron window is open and the user opens another window, the electron window stays on top of the other window, but that window appears “behind” the electron window.
I would like instead to keep the two windows separate. For example, having the other window open to the side of the electron window or below it. This would likely require that the other non-electron window be resized to only take up half of the screen.
Is there a way to do this? I am considering if there is a straightforward Electron option or if not if there is a creative way to approach the issue.