Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to completely remove the title bar? #317

Open
Jeremy-Code-F opened this issue Apr 13, 2023 · 1 comment
Open

Is it possible to completely remove the title bar? #317

Jeremy-Code-F opened this issue Apr 13, 2023 · 1 comment

Comments

@Jeremy-Code-F
Copy link

Hi, I'm using minifb on Windows 10

image

I have setup the following window -

let mut window = Window::new(
        "",
        width, 
        height,
        WindowOptions {
            scale: minifb::Scale::X1,
            borderless: true,
            title: false,
            topmost: true,
            ..WindowOptions::default()
        },
    )
    .unwrap_or_else(|e| {
        panic!("{}", e)
    });

I was expecting since I have set borderless: true and title: false that I would have no bar at the top

But in reality the window looks like this.

image

Is there any way to remove the bar at the top?

Thanks!

@emoon
Copy link
Owner

emoon commented Apr 16, 2023

Hey,

Sorry for late reply. I'm not actually sure what the expected behavior is here because it was long ago I changed that code and it might be that the flags aren't correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants