Using libweston with GTK/GDK

adlo adloconwy at gmail.com
Fri May 10 07:48:57 UTC 2019


On 9 May 2019, at 10:43, adlo <adloconwy at gmail.com> wrote:

>> On 1 May 2019, at 10:34, Pekka Paalanen <ppaalanen at gmail.com> 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
>> https://gitlab.freedesktop.org/wayland/weston/blob/master/protocol/weston-desktop-shell.xml
>> 
> 
> I added a call to wl_global_create(). I also created a test client that calls wl_registry_bind(), but my bind function doesn't seem to run, and wl_registry_bind returns NULL. How can I resolve this?
> 
> (Is it OK to just pass the number 1 as the name parameter for wl_registry_bind?)

I put a call to weston_log() in my server-side bind function and then called wl_global_create() in my client. I was expecting to see my log entry printed to the screen but I got nothing.

What could be going on?

Regards

adlo


More information about the wayland-devel mailing list