Closed cterefinko closed 4 years ago
An alternative that is worth considering more is adding requestFullscreen(Screen) (currently marked as future work). This would take care of combining the two calls and would provide a nicer API than moving via moveTo.
I have bumped requestFullscreen(Screen) into current goals, thanks for the feedback!
The new API seems to indicate that in order to enter fullscreen on a different display, the window must first be moved (via moveTo), and then fullscreen'd (via requestFullscreen). This also seems to imply that after exiting fullscreen, the window would need to be moved back to its original display.
Would be nice to have the two calls combined and to have the window remain on its original display after exiting fullscreen.