frames: Fix code typo
We are picking the wrong fallback frame title string in a
branch.
Fixes: 6df9eab88
("frames: Handle _NET_WM_VISIBLE_NAME")
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2875>
This commit is contained in:
parent
4409dd24b6
commit
2279f40e17
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ update_frame_title (MetaFrame *frame)
|
||||||
if (frame->net_wm_visible_name)
|
if (frame->net_wm_visible_name)
|
||||||
title = frame->net_wm_visible_name;
|
title = frame->net_wm_visible_name;
|
||||||
else if (frame->net_wm_name)
|
else if (frame->net_wm_name)
|
||||||
title = frame->net_wm_visible_name;
|
title = frame->net_wm_name;
|
||||||
else if (frame->wm_name)
|
else if (frame->wm_name)
|
||||||
title = frame->wm_name;
|
title = frame->wm_name;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue