Skip to content

Conversation

@Sunderland93
Copy link
Contributor

Add ro_anonymous_file, an abstraction around anonymous read-only files. Files can be created by calling os_ro_anonymous_file_create(), passing the data of the file. Subsequent calls to os_ro_anonymous_file_get_fd() return a fd that's ready to be send over the socket. Use this new abstraction in meta-wayland-keyboard for sending keymap data to the clients without having to copy it unnecessarily.

… sharing

Add ro_anonymous_file, an abstraction around anonymous read-only files.
Files can be created by calling os_ro_anonymous_file_create(), passing
the data of the file. Subsequent calls to os_ro_anonymous_file_get_fd()
return a fd that's ready to be send over the socket.
Use this new abstraction in meta-wayland-keyboard for sending keymap data to the clients without having to copy it unnecessarily.
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.

1 participant