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: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2103>
This commit is contained in:
Sebastian Keller 2021-11-23 00:19:51 +01:00 committed by Marge Bot
parent f41c03fcda
commit 67033b0acd

View File

@ -30,7 +30,7 @@ is_window_size_fixed (MetaWindow *window)
if (meta_window_is_fullscreen (window)) if (meta_window_is_fullscreen (window))
return TRUE; return TRUE;
if (meta_window_get_maximized (window) | if (meta_window_get_maximized (window) &
(META_MAXIMIZE_VERTICAL | META_MAXIMIZE_VERTICAL)) (META_MAXIMIZE_VERTICAL | META_MAXIMIZE_VERTICAL))
return TRUE; return TRUE;