rust-windowing / glutin

A low-level library for OpenGL context creation
Apache License 2.0
1.98k stars 476 forks source link

Locking window size or disabling resizing #877

Closed evrimoztamur closed 6 years ago

evrimoztamur commented 7 years ago

I've been looking at past commits and it seems like #681 and #683 were never fully implemented. Seeing there is no progress on either one of these commits for over a year, I was wondering if any help is needed on this end.

Disabling resizing is a feature I need while using glium/glutin, so I'd appreciate it if anybody could direct me to the necessary changes required for this. The addition of a resizable flag to glutin::WindowAttributes would be very useful.

TakWolf commented 6 years ago

I have the same problem. What is the progress? glutin‘s everything is great, except for this resizable flag. So I had to use sdl to overdo it.

Whether there is a completed plan, or what is the current difficulty?

Dooskington commented 6 years ago

Having the same issue - would really love a resizable flag.

I tried to set the min and max dimensions to be the same, but it doesn't work as expected. It disables resizing, but gives the wrong dimensions on Windows (but works on macOS). Basically, I am having the problem described in issue #681

francesca64 commented 6 years ago

This is an issue with winit and should be closed. Relevant: tomaka/winit#65 tomaka/winit#127