Update wayland window title
Building and using the xfce4-panel in MR 103 (xfce4-panel!103 (comment 61239)) titles do not always update.
The following patch fixes the issue
diff --git a/libxfce4windowing/xfw-window-wayland.c b/libxfce4windowing/xfw-window-wayland.c
index 0c38133..2e39f81 100644
--- a/libxfce4windowing/xfw-window-wayland.c
+++ b/libxfce4windowing/xfw-window-wayland.c
@@ -548,6 +548,7 @@ toplevel_title(void *data, struct zwlr_foreign_toplevel_handle_v1 *wl_toplevel,
g_free(window->priv->name);
window->priv->name = g_strdup(title);
g_object_notify(G_OBJECT(window), "name");
+ g_signal_emit_by_name(window, "name-changed");
}
static const struct {
I haven't yet got access to fork and create MRs, but consider it's just a one-liner, I thought I'd just post the patch here.