diff options
author | insaner <[email protected]> | 2023-01-25 21:35:07 -0500 |
---|---|---|
committer | raveit65 <[email protected]> | 2023-05-04 13:32:36 +0200 |
commit | 730ed9dc454e97f569df8a92ac065a1afcc05baa (patch) | |
tree | 2487af1de892687976e76a96c286fe6bea9ce2f8 /src | |
parent | 03dff122fda80db045f3c82e6cc272c3f8c5f7e4 (diff) | |
download | marco-730ed9dc454e97f569df8a92ac065a1afcc05baa.tar.bz2 marco-730ed9dc454e97f569df8a92ac065a1afcc05baa.tar.xz |
Show correct window title when owned by superuser. Issue #749
Diffstat (limited to 'src')
-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 71c9d203..3a01f6f6 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) { |