Protocol extensions using libweston core functions

adlo adloconwy at gmail.com
Mon May 20 06:22:10 UTC 2019


I wrote a compositor with a window switcher protocol. The core libweston-desktop function implementations such as surface_added are in shell.c, while the window switcher code is in window-switcher.c.

When a new window is opened (a new surface is added), the window switcher will need to be updated with information about this new window. However, the surface_added function in shell.c doesn't know about the window switcher protocol.

What is the best way to connect these two parts of the code?

Regards

adlo


More information about the wayland-devel mailing list