mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
[MetaWindow]: Always notify on title property change
The previous notification code was attempting to use the "modified" boolean returned from set_title_text, but "that boolean doesn't mean what you think it means". It actually means "I truncated the title". Just always notify, it's far simpler than trying to compute when we don't need to, and callers can compress if they really need to.
This commit is contained in:
@ -472,8 +472,8 @@ set_window_title (MetaWindow *window,
|
||||
meta_ui_set_frame_title (window->screen->ui,
|
||||
window->frame->xwindow,
|
||||
window->title);
|
||||
if (modified)
|
||||
g_object_notify (G_OBJECT (window), "title");
|
||||
|
||||
g_object_notify (G_OBJECT (window), "title");
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user