mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 05:12:15 +00:00
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
@ -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 New Issue
Block a user