Skip to content

Added XFetchName to X11 interface. #484

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

Closed
wants to merge 2 commits into from
Closed

Added XFetchName to X11 interface. #484

wants to merge 2 commits into from

Conversation

pinaf
Copy link
Contributor

@pinaf pinaf commented Aug 7, 2015

  • added XFetchName to X11 interface.

used https://tronche.com/gui/x/xlib/ICC/client-to-window-manager/XFetchName.html as reference

@pinaf
Copy link
Contributor Author

pinaf commented Aug 7, 2015

@twall I believe I did the char** mapping correctly for the last parameter (as a PointerByReference).

@dblock
Copy link
Member

dblock commented Aug 8, 2015

This needs a test, please. And squash your commits.

@twall
Copy link
Contributor

twall commented Aug 16, 2015

@pinaf Yes, that is how the "return" of a pointer should be mapped. You should be able to add a test for this, even if it's only to look up a nonexistent name.

@twall
Copy link
Contributor

twall commented Dec 5, 2015

Changes have been applied, though github seems a bit confused about it.

@twall twall closed this Dec 5, 2015
mstyura pushed a commit to mstyura/jna that referenced this pull request Sep 9, 2024
…ram size (java-native-access#484)

Motivation:

We used a hardcoded value for the maximum datagram packet size before. This is problematic for two reasons, first off if the remote peer uses a smaller MTU it might never receive a packet. Secondly it might also affect performance in a negative way.

Modifications:

- Use quiche_conn_max_send_udp_payload_size(...) to obtain the maximum datagram payload size.

Result:

No risk of packet loss due small MTU and also better performance if remote peer supports large datagrams
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants