LWJGL/lwjgl

Creating LinuxDisplay window does not correctly enable resizing

Marcono1234 opened this issue · 2 comments

This is a theoretical report because I don't have a Linux system to test.

It is very likely that a LinuxDisplay window which was resizable before but then destroyed is not displayed as resizable when it is created again, besides its resizable attribut being true. The reason for this is that the method createWindow is only setting the value for the attribut instead of calling setResizable(boolean).

Reproducing this bug is probably blocked by #142

Spasi commented

I haven't had time to test this yet, but the implementation looks fine. The cached resizable state is overridden on window creation and the correct value is passed to native code.

Oh yes, you are right. I thought it would call setResizable(boolean) but did not see that the value is passed to the native code. Sorry.