I've figured out how to use the Java fullscreen API... With this, all native code for fullscreen mode could be removed.
The major benefit of this was that all key and mouse events on the XineAWTCanvas are reported correctly and an app can respond to them, both in normal and in fullscreen mode. See example/Player.java for an example on handling events.
Also, the standalone window XineWindow which used native code was replaced by XineAWTFrame. XineAWTFrame automatically resizes itself to the video format multiplied by a zoom factor which can be set by XineAWTFrame.setZoom(float zoom).
Configure does more tests. Especially, it checks for x11/xcb headers and libs. Also JNI stuff is tested such that configure errors fail fast.
Log in to post a comment.