1
0
Fork 0

monitor-config-store: Fix typos in <layoutmode> written to monitors.xml

Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3635
Fixes: 076b3664a3 ("monitor-config-store: Store and load layout mode for each configuration")
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3976>
This commit is contained in:
Daniel van Vugt 2024-08-23 11:32:19 +08:00
parent 70dc8cabac
commit 3eebe2592a

View file

@ -2297,10 +2297,10 @@ generate_config_xml (MetaMonitorConfigStore *config_store)
switch (config->layout_mode)
{
case META_LOGICAL_MONITOR_LAYOUT_MODE_LOGICAL:
g_string_append (buffer, " <layout_mode>logical</layout_mode>\n");
g_string_append (buffer, " <layoutmode>logical</layoutmode>\n");
break;
case META_LOGICAL_MONITOR_LAYOUT_MODE_PHYSICAL:
g_string_append (buffer, " <layout_mode>physical</layout_mode>\n");
g_string_append (buffer, " <layoutmode>physical</layoutmode>\n");
break;
}