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:
parent
f41c03fcda
commit
67033b0acd
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user