-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid field order on XResizeRequestEvent #1044
Comments
I created PR #1047 - it adds unittests for all X11 structures and found the problem you found. It seems to be the only one and will be fixed with that PR. |
Thanks. The only other thing I noticed is a duplicate field order declaration (annotation and @FieldOrder({"type", "serial", "send_event", "display", "window"})
public static class XAnyEvent extends Structure {
public static final List<String> FIELDS = createFieldsOrder(); |
Thank you for checking - there are more instances, that show the remains of the old code. These are left overs from the conversion. The code is not used - the static field would need to be returned from |
JNA version 5.1.0 and current
jna/contrib/platform/src/com/sun/jna/platform/unix/X11.java
Line 1756 in 7ac44fe
The field order annotation for XResizeRequestEvent has too much fields.
The text was updated successfully, but these errors were encountered: