Using libweston with GTK/GDK

adlo adloconwy at
Wed May 8 04:35:54 UTC 2019

On Wed, 2019-05-01 at 12:34 +0300, Pekka Paalanen wrote:
> it is all just the normal Wayland protocol exchange but with a new
> interface of your own design. I'm not sure if there is a really
> minimal example, but I'll list at least some.
> One example of such private protocol extension is
> The privacy of the protocol extension, the installed wayland global
> really, is achieved in
> 	shell->child.client = weston_client_start(shell->compositor,
> 						  shell->client);
> which creates the Wayland connection before forking the child
> process and bind_desktop_shell() then verifying the client trying
> to bind to the global is the client that was forked.

Does the client have to be a separate object file? Is it possible to
simply call the client's init function directly and then fork?

Is that how this works? Have I understood this correctly?

How do I get the correct path to pass to weston_client_start()? How
does it find my object file?



More information about the wayland-devel mailing list