core: Use b/w unicode for tablet mode OSD

This unicode was initially meant to be b/w, but fonts and pango
eventually had another plan and we ended up with color glyphs
being used here, so we get strings like "". Change the
unicode used to ensure these are simpler b/w glyhps like
"● ○ ○ ○" that are easier to read on the OSD (and maybe even a
bit less ugly).

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4733
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2064>
This commit is contained in:
Carlos Garnacho 2021-10-27 13:04:15 +02:00 committed by Marge Bot
parent ab45ae18ff
commit 5125f66afa

View File

@ -3139,9 +3139,13 @@ meta_display_notify_pad_group_switch (MetaDisplay *display,
pretty_name = clutter_input_device_get_device_name (pad);
message = g_string_new (pretty_name);
g_string_append_c (message, '\n');
g_string_append (message, "\n\n");
for (i = 0; i < n_modes; i++)
g_string_append (message, (i == n_mode) ? "" : "");
{
if (i > 0)
g_string_append_c (message, ' ');
g_string_append (message, (i == n_mode) ? "" : "");
}
meta_display_show_osd (display, lookup_tablet_monitor (display, pad),
"input-tablet-symbolic", message->str);