You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building a tool, primarily targetting macOS, that needs to render graphics fullscreen across all monitors.
What's the best way to do this with winit? Marking windows as fullscreen doesn't work, since that only goes on one monitor and multiple fullscreen windows can't be in view at once. Setting the coordinates to 0, 0 doesn't work either as that just positions it below the menubar at the top.
I also tried manually calling setLevel on the NSWindow with NSMainMenuWindowLevel+1 as the level, but that had absolutely no effect.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm building a tool, primarily targetting macOS, that needs to render graphics fullscreen across all monitors.
What's the best way to do this with winit? Marking windows as fullscreen doesn't work, since that only goes on one monitor and multiple fullscreen windows can't be in view at once. Setting the coordinates to
0, 0
doesn't work either as that just positions it below the menubar at the top.I also tried manually calling
setLevel
on theNSWindow
withNSMainMenuWindowLevel+1
as the level, but that had absolutely no effect.Beta Was this translation helpful? Give feedback.
All reactions