Skip to content

Window is always fullscreen on Windows #340

@aakodadi

Description

@aakodadi

Summary

Works fine on Linux but on Windows, the window is in fullscreen mode even when I try to override that with the ContextBuilder.

    ContextBuilder::new(
        camera_info.human_name(),
        WINDOW_WIDTH.try_into().unwrap(),
        WINDOW_HEIGHT.try_into().unwrap(),
    )
    .fps_limit(false)
    .show_mouse(true)
    .resizable(true)
    .fullscreen(false) // It should be false by default
    .build()?
    .run(|_| Ok(StateWrapper::new(state)))

Steps to Reproduce

Run it on windows.

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Platform Specific: WindowsIssues that are specific to systems running Windows.Status: Needs ReplicatingIndicates that the issue cannot be replicated - this doesn't necessarily mean it's invalid!Type: BugProblems with the code/documentation that need to be fixed.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions