Skip to content
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

client: Add a GTK example #572

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

client: Add a GTK example #572

wants to merge 1 commit into from

Commits on Oct 5, 2022

  1. client: Add a GTK example

    This provides an example of how to use `wayland_client` with a foreign
    display, in particular GTK. If there is a better way to use
    `wayland_client` with GTK, the example can be improved.
    
    I'm not sure if this use of `prepare_read` is correct. I guess it can't
    really run into issues given no other thread is actually reading from
    the connection? Should it instead create a guard before calling
    `unix_fd_add_local`, and replace it with a new guard every time the
    function is called?
    ids1024 committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    93a0ca5 View commit details
    Browse the repository at this point in the history