1
0
Fork 0

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:
Carlos Garnacho 2023-02-28 18:13:23 +01:00
parent 4409dd24b6
commit 2279f40e17

View file

@ -292,7 +292,7 @@ update_frame_title (MetaFrame *frame)
if (frame->net_wm_visible_name)
title = frame->net_wm_visible_name;
else if (frame->net_wm_name)
title = frame->net_wm_visible_name;
title = frame->net_wm_name;
else if (frame->wm_name)
title = frame->wm_name;
else