From 0d6b0fc165334754c3e642ecac82d8bed34ebabd Mon Sep 17 00:00:00 2001 From: Anders Jonsson Date: Sun, 29 Jan 2023 17:37:43 +0100 Subject: [PATCH] settings: Fix spelling of endianness Part-of: --- data/org.gnome.mutter.wayland.gschema.xml.in | 6 +++--- src/backends/meta-settings.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/org.gnome.mutter.wayland.gschema.xml.in b/data/org.gnome.mutter.wayland.gschema.xml.in index e76718c55..27a688ed4 100644 --- a/data/org.gnome.mutter.wayland.gschema.xml.in +++ b/data/org.gnome.mutter.wayland.gschema.xml.in @@ -127,9 +127,9 @@ false - Allow X11 clients with a different endianess to connect to Xwayland + Allow X11 clients with a different endianness to connect to Xwayland - Allow connections from clients with an endianess different to that + Allow connections from clients with an endianness different to that of Xwayland. The X server byte-swapping code is a huge attack surface, much of @@ -139,7 +139,7 @@ default in Xwayland. Enable this option to instruct Xwayland to accept connections from - X11 clients with a different endianess. + X11 clients with a different endianness. This option has no effect if Xwayland does not support the command line option +byteswappedclients/-byteswappedclients to control that diff --git a/src/backends/meta-settings.c b/src/backends/meta-settings.c index aead64ccb..730a8e8c3 100644 --- a/src/backends/meta-settings.c +++ b/src/backends/meta-settings.c @@ -75,7 +75,7 @@ struct _MetaSettings /* A bitmask of MetaXwaylandExtension enum */ int xwayland_disable_extensions; - /* Whether Xwayland should allow X11 clients from different endianess */ + /* Whether Xwayland should allow X11 clients from different endianness */ gboolean xwayland_allow_byte_swapped_clients; };