diff options
author | insaner <[email protected]> | 2023-01-25 21:35:07 -0500 |
---|---|---|
committer | Luke from DC <[email protected]> | 2023-02-10 20:00:39 +0000 |
commit | 319ee4ffaae7bec3289a1a65ce9774982564cd61 (patch) | |
tree | 72a944628cdf6bfbb927b65d0e301a54b0fc0e66 | |
parent | d83cb24a27b1864be035868354a806287dbfaa92 (diff) | |
download | marco-319ee4ffaae7bec3289a1a65ce9774982564cd61.tar.bz2 marco-319ee4ffaae7bec3289a1a65ce9774982564cd61.tar.xz |
Show correct window title when owned by superuser. Issue #749
-rw-r--r-- | src/core/window-props.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/window-props.c b/src/core/window-props.c index 06df9e66..fd48e732 100644 --- a/src/core/window-props.c +++ b/src/core/window-props.c @@ -489,7 +489,7 @@ set_title_text (MetaWindow *window, g_free (*target); - if (!title) + if (!title || g_utf8_strlen (title, 2) < 1) *target = g_strdup (""); else if (g_utf8_strlen (title, MAX_TITLE_LENGTH + 1) > MAX_TITLE_LENGTH) { |