public static boolean xShowWindowMenu( Window window, int x, int y ) {
		System.out.println( "---- show window menu: " + x + "," + y );
		return sendEvent( window,
			"_GTK_SHOW_WINDOW_MENU",
			0,				// device id TODO
			x,
			y,
			0,
			0 );
	}
Send _GTK_SHOW_WINDOW_MENU to window to show system window menu.

Warning: Although the implementation of this method is (nearly) identical
         to the C++ implementation, this one does not work correctly.
         DO NOT USE.

https://docs.gtk.org/gdk3/method.Window.show_window_menu.html
https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gdk/x11/gdksurface-x11.c#L4751-4801
flatlaf-natives/flatlaf-natives-jna/src/main/java/com/formdev/flatlaf/natives/jna/linux/X11WmUtils.java