Is there a way to mask the GlWindow canvas with round corners in an unDecorated state? See reason = selfmade window on Win11. SetShape does not exist :(
You need to call CreateRoundRectRgn and SetWindowRgn somehow (if you keep the decoration). Maybe it's doable in pure Java by using the Foreign-Memory Access API. Otherwise, you have to modify the region used by the GLWindow if you want to use an undecorated window.