Skip to content

Commit

Permalink
Fixed fullscreen only being possible on primary monitor.
Browse files Browse the repository at this point in the history
  • Loading branch information
bungoboingo committed Mar 2, 2023
1 parent 86b85d1 commit b2a9a1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion winit/src/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ pub fn run_command<A, E>(
window::Action::ChangeMode(mode) => {
window.set_visible(conversion::visible(mode));
window.set_fullscreen(conversion::fullscreen(
window.primary_monitor(),
window.current_monitor(),
mode,
));
}
Expand Down

0 comments on commit b2a9a1e

Please sign in to comment.