[mutter/gnome-41] wayland/window-configuration: Fix maximized check in fixed size check
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gnome-41] wayland/window-configuration: Fix maximized check in fixed size check
- Date: Mon, 3 Jan 2022 11:25:31 +0000 (UTC)
commit 8c6b3e032620d35cb44d990ca9ebdc3b0aaac01d
Author: Sebastian Keller <skeller gnome org>
Date: Tue Nov 23 00:19:51 2021 +0100
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>
(cherry picked from commit 67033b0acdc48dcf275733f1a2a52dd018f9fc6e)
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 6a91a7141e..2fd5c8ef80 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]