libweston-desktop: publish changes to title-changed and app-id-changed?

Matt Hoosier matt.hoosier at gmail.com
Mon Jul 17 19:47:01 UTC 2017


I'm finding that it would be useful for shells implemented against
libweston-desktop to be able to know when the application's title or app-id
changes. Right now, that information is swallowed up inside the internal
logic.

Would a patch exporting changes to title or app_id be welcome? If so, do
you prefer it to be done by introducing new callbacks into the
weston_desktop_api struct (this would break ABI)? Or would it be better to
add a couple of wl_signal's to the weston_desktop_surface struct? This
latter approach could be done either by making the weston_desktop_surface
type non-opaque or by adding helper functions
weston_desktop_surface_add_title_listener() and
weston_desktop_surface_add_app_id_listener().

-Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20170717/e9bb04bf/attachment.html>


More information about the wayland-devel mailing list