From 67033b0acdc48dcf275733f1a2a52dd018f9fc6e Mon Sep 17 00:00:00 2001 From: Sebastian Keller Date: Tue, 23 Nov 2021 00:19:51 +0100 Subject: [PATCH] wayland/window-configuration: Fix maximized check in fixed size check This was always true and therefore resulting in all configurations being considered as having a size, even when they don't change the size, such as a state change. Part-of: --- src/wayland/meta-wayland-window-configuration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland/meta-wayland-window-configuration.c b/src/wayland/meta-wayland-window-configuration.c index 6a91a7141..2fd5c8ef8 100644 --- a/src/wayland/meta-wayland-window-configuration.c +++ b/src/wayland/meta-wayland-window-configuration.c @@ -30,7 +30,7 @@ is_window_size_fixed (MetaWindow *window) if (meta_window_is_fullscreen (window)) return TRUE; - if (meta_window_get_maximized (window) | + if (meta_window_get_maximized (window) & (META_MAXIMIZE_VERTICAL | META_MAXIMIZE_VERTICAL)) return TRUE;