mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-15 23:00:08 +00:00
wayland: Only update the window title if it actually updated
This makes the protocol log less spammy. https://bugzilla.gnome.org/show_bug.cgi?id=769937
This commit is contained in:
parent
8270699119
commit
d2a80cd235
@ -2343,6 +2343,9 @@ gdk_wayland_window_set_title (GdkWindow *window,
|
||||
|
||||
impl = GDK_WINDOW_IMPL_WAYLAND (window->impl);
|
||||
|
||||
if (g_strcmp0 (impl->title, title) == 0)
|
||||
return;
|
||||
|
||||
g_free (impl->title);
|
||||
|
||||
g_utf8_validate (title, MAX_WL_BUFFER_SIZE, &end);
|
||||
|
Loading…
Reference in New Issue
Block a user