SpaiR / imgui-java

JNI based binding for Dear ImGui
MIT License
547 stars 90 forks source link

Bug: setFullScreen does not work #188

Open phraktle opened 1 year ago

phraktle commented 1 year ago

Version

1.86.10

What happened?

Setting config.setFullScreen(true) does not seem to work – there's no window showing up at all in this case. Tested on Mac OS Ventura 13.41.

Reproduction

    @Override
    protected void configure(Configuration config) {
        config.setFullScreen(true);
        // ...
    }

Relevant log output

No response

SpaiR commented 1 year ago

Thanks for the report. The problem is in that code https://github.com/SpaiR/imgui-java/blob/main/imgui-app/src/main/java/imgui/app/Window.java#L100-L104 Will be addressed in the near future 👍