[mutter] wayland/window-configuration: Fix missing horizontal maximized check



commit b596de26800cd0028e0f264ab7619bde61c69f8f
Author: Ievgen Popovych <jmennius gmail com>
Date:   Tue Dec 28 20:05:09 2021 +0200

    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>

 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 2fd5c8ef80..8349d2ac3b 100644
--- a/src/wayland/meta-wayland-window-configuration.c
+++ b/src/wayland/meta-wayland-window-configuration.c
@@ -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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]