settings: Set xwayland_allow_byte_swapped_clients at startup

The value for the key "xwayland-allow-byte-swapped-clients" was being
updated on change, but never actually set at startup.

As a result, Xwayland was spawned with byteswap clients disabled, even
if the key was set to TRUE.

Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2938
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3156>
This commit is contained in:
Olivier Fourdan 2023-08-07 15:31:40 +02:00 committed by Marge Bot
parent b9b26cba03
commit d291d4a733

View File

@ -569,6 +569,7 @@ meta_settings_init (MetaSettings *settings)
update_xwayland_allow_grabs (settings);
update_xwayland_disable_extensions (settings);
update_privacy_settings (settings);
update_xwayland_allow_byte_swapped_clients (settings);
}
static void