From fae4c5097de0dd03240934a08b5845ac91b3e5e5 Mon Sep 17 00:00:00 2001 From: David Turner Date: Thu, 15 May 2025 10:04:46 +0100 Subject: [PATCH] xwayland: Remove has_utf8_title field --- include/wlr/xwayland/xwayland.h | 1 - xwayland/xwm.c | 3 --- 2 files changed, 4 deletions(-) diff --git a/include/wlr/xwayland/xwayland.h b/include/wlr/xwayland/xwayland.h index 0eb466d96..92a45a493 100644 --- a/include/wlr/xwayland/xwayland.h +++ b/include/wlr/xwayland/xwayland.h @@ -146,7 +146,6 @@ struct wlr_xwayland_surface { char *role; char *startup_id; pid_t pid; - bool has_utf8_title; struct wl_list children; // wlr_xwayland_surface.parent_link struct wlr_xwayland_surface *parent; diff --git a/xwayland/xwm.c b/xwayland/xwm.c index 8cd1d41ab..d5a57d5e5 100644 --- a/xwayland/xwm.c +++ b/xwayland/xwm.c @@ -774,9 +774,6 @@ static void read_surface_title(struct wlr_xwm *xwm, xsurface->title = NULL; } - // TODO: drop this field - xsurface->has_utf8_title = reply->type == xwm->atoms[UTF8_STRING]; - wl_signal_emit_mutable(&xsurface->events.set_title, NULL); }