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

eframe: fix unexpected change with winit 0.28 #3382

Closed
wants to merge 1 commit into from
Closed

eframe: fix unexpected change with winit 0.28 #3382

wants to merge 1 commit into from

Conversation

icedrocket
Copy link
Contributor

@icedrocket icedrocket commented Sep 24, 2023

As of winit 0.28, with the addition of the WindowsButtons API, resizable no longer controls whether the maximize button is enabled or not. So in this pull request, I've made changes here to match the behavior of older versions of winit until we change our API.

Copy link
Owner

@emilk emilk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So resizable used to also affect wether not the maximize button was shown, then winit fixed that rather weird behavior?

I think the preferable way to fix this is to introduce a way to control the maximize button in NativeOptions so that eframe users can toggle the two independently of each other.

There is some work towards that in #3172

@icedrocket icedrocket closed this Nov 24, 2023
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

Successfully merging this pull request may close these issues.

2 participants