From b9b26cba03f2eddc137a27a5dc4aa63a4253bd2d Mon Sep 17 00:00:00 2001 From: Olivier Fourdan Date: Mon, 7 Aug 2023 15:30:05 +0200 Subject: [PATCH] settings: Use appropriate type for xwayland-allow-byte-swapped-clients The key "xwayland-allow-byte-swapped-clients" is of type boolean, it's not a flag. Part-of: --- src/backends/meta-settings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backends/meta-settings.c b/src/backends/meta-settings.c index b8b34abfd..229b7f6f8 100644 --- a/src/backends/meta-settings.c +++ b/src/backends/meta-settings.c @@ -436,8 +436,8 @@ update_xwayland_allow_byte_swapped_clients (MetaSettings *settings) { settings->xwayland_allow_byte_swapped_clients = - g_settings_get_flags (settings->wayland_settings, - "xwayland-allow-byte-swapped-clients"); + g_settings_get_boolean (settings->wayland_settings, + "xwayland-allow-byte-swapped-clients"); } static void