I am creating a desktop application using Compose multiplatform.
More specifically, using the JetBrainsRuntime
via the glue provided by jewel.
I am looking for a way to determine if my application is running within a window manager on Linux, as I am a window manager user. IntelliJ IDEA is able to determine so and thus does not allow for resizing via window edges and does not show the minimize or maximize buttons on the window bar. I would like to achieve the same.
I understand that JetBrains Idea does not use compose, but both use AWT in some way or another.
Furthermore, I have considered checking for the _JAVA_AWT_WM_NONREPARENTING
environment variable, but it does not seem like JetBrains Idea needs this, so I am looking for another solution.