wayland/window-configuration: Fix missing horizontal maximized check

Signed-off-by: Ievgen Popovych <jmennius@gmail.com>
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2187>
This commit is contained in:
Ievgen Popovych 2021-12-28 20:05:09 +02:00
parent bbd7f79071
commit b596de2680

View File

@ -31,7 +31,7 @@ is_window_size_fixed (MetaWindow *window)
return TRUE;
if (meta_window_get_maximized (window) &
(META_MAXIMIZE_VERTICAL | META_MAXIMIZE_VERTICAL))
(META_MAXIMIZE_VERTICAL | META_MAXIMIZE_HORIZONTAL))
return TRUE;
if (meta_window_get_tile_mode (window) != META_TILE_NONE)