79225438

Date: 2024-11-26 05:42:28
Score: 1
Natty:
Report link

You can try XShapeCombineMask with JNA to make the javafx window transparent for mouse events. Right now, your makeHalfTransparent function looks fine, but you're likely not applying the mask correctly to the javafx window. getWindowPointer needs fetched and applied the shape mask XSHapeCombineMask matching dimensions of the stage and call XFlush after applying the mask

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Amadeus