Pick up F40 changes

Resolves: RHEL-33590
This commit is contained in:
Florian Müllner 2024-04-22 16:10:25 +02:00
parent a6f46c185c
commit 4c9c0e919d
No known key found for this signature in database
4 changed files with 57 additions and 8 deletions

1
.gitignore vendored
View File

@ -219,3 +219,4 @@ mutter-2.31.5.tar.bz2
/mutter-46.beta.tar.xz /mutter-46.beta.tar.xz
/mutter-46.rc.tar.xz /mutter-46.rc.tar.xz
/mutter-46.0.tar.xz /mutter-46.0.tar.xz
/mutter-46.1.tar.xz

View File

@ -1,8 +1,56 @@
From 1d5c47f8970c2027de5f6fa49b84de73d55b419b Mon Sep 17 00:00:00 2001 From 21680b2f4edb064ff524cb91e9e20ace91deda6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
Date: Sun, 21 Apr 2024 16:54:52 +0200
Subject: [PATCH 1/2] Revert "x11/window: Update comment and variable name to
reflect current behavior"
This reverts commit e4763d00e8512aeb408ae118597d753f12217487.
---
src/x11/window-x11.c | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/src/x11/window-x11.c b/src/x11/window-x11.c
index 6d2016e3ec..f6f7d87dfe 100644
--- a/src/x11/window-x11.c
+++ b/src/x11/window-x11.c
@@ -2476,20 +2476,21 @@ meta_window_x11_update_input_region (MetaWindow *window)
if (region != NULL)
{
- MtkRectangle bounding_rect;
+ MtkRectangle client_area;
- bounding_rect.x = 0;
- bounding_rect.y = 0;
- bounding_rect.width = window->buffer_rect.width;
- bounding_rect.height = window->buffer_rect.height;
+ client_area.x = 0;
+ client_area.y = 0;
+ client_area.width = window->buffer_rect.width;
+ client_area.height = window->buffer_rect.height;
/* The shape we get back from the client may have coordinates
* outside of the frame. The X SHAPE Extension requires that
* the overall shape the client provides never exceeds the
* "bounding rectangle" of the window -- the shape that the
- * window would have gotten if it was unshaped.
+ * window would have gotten if it was unshaped. In our case,
+ * this is simply the client area.
*/
- mtk_region_intersect_rectangle (region, &bounding_rect);
+ mtk_region_intersect_rectangle (region, &client_area);
}
meta_window_set_input_region (window, region);
--
2.44.0
From f1996e67ad8a5a0009e90c38767c8906e015ba70 Mon Sep 17 00:00:00 2001
From: Adam Williamson <awilliam@redhat.com> From: Adam Williamson <awilliam@redhat.com>
Date: Thu, 5 Oct 2023 13:09:46 -0700 Date: Thu, 5 Oct 2023 13:09:46 -0700
Subject: [PATCH] Revert "x11: Use input region from frame window for decorated Subject: [PATCH 2/2] Revert "x11: Use input region from frame window for
windows" decorated windows"
This reverts commit d991961ae2a5c8cf2e58ff1072239f4902b0f767. It This reverts commit d991961ae2a5c8cf2e58ff1072239f4902b0f767. It
seems to cause the broken mouse interaction bug reported in seems to cause the broken mouse interaction bug reported in
@ -15,7 +63,7 @@ Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3068
2 files changed, 10 insertions(+), 26 deletions(-) 2 files changed, 10 insertions(+), 26 deletions(-)
diff --git a/src/core/frame.c b/src/core/frame.c diff --git a/src/core/frame.c b/src/core/frame.c
index 145f0b7bd7..1c90ce4231 100644 index c74a2e04ec..5feb854805 100644
--- a/src/core/frame.c --- a/src/core/frame.c
+++ b/src/core/frame.c +++ b/src/core/frame.c
@@ -35,7 +35,6 @@ @@ -35,7 +35,6 @@
@ -47,7 +95,7 @@ index 145f0b7bd7..1c90ce4231 100644
meta_window_x11_get_xwindow (window), meta_window_x11_get_xwindow (window),
x11_display->atom__MUTTER_NEEDS_FRAME); x11_display->atom__MUTTER_NEEDS_FRAME);
diff --git a/src/x11/window-x11.c b/src/x11/window-x11.c diff --git a/src/x11/window-x11.c b/src/x11/window-x11.c
index 745c45db18..8edff883c9 100644 index f6f7d87dfe..1bc5c57a1a 100644
--- a/src/x11/window-x11.c --- a/src/x11/window-x11.c
+++ b/src/x11/window-x11.c +++ b/src/x11/window-x11.c
@@ -2082,10 +2082,6 @@ meta_window_x11_constructed (GObject *object) @@ -2082,10 +2082,6 @@ meta_window_x11_constructed (GObject *object)
@ -111,5 +159,5 @@ index 745c45db18..8edff883c9 100644
/* The shape we get back from the client may have coordinates /* The shape we get back from the client may have coordinates
* outside of the frame. The X SHAPE Extension requires that * outside of the frame. The X SHAPE Extension requires that
-- --
2.43.2 2.44.0

View File

@ -13,7 +13,7 @@
%global tarball_version %%(echo %{version} | tr '~' '.') %global tarball_version %%(echo %{version} | tr '~' '.')
Name: mutter Name: mutter
Version: 46.0 Version: 46.1
Release: %autorelease Release: %autorelease
Summary: Window and compositing manager based on Clutter Summary: Window and compositing manager based on Clutter

View File

@ -1 +1 @@
SHA512 (mutter-46.0.tar.xz) = 0314183f763b609105f42233f19507eed14f9a8fab4b0985e966ab208d03a22b600e7a4ab3f6a190a5704abcea663ae1a0cf2394eb42a6c076b7a558ef51eacc SHA512 (mutter-46.1.tar.xz) = bb360db020c31e71ae9e247d871130dd737b180a0a48eebcafee6a3b4b5e704fe9828e12caec13e81a03d6b61bfac389c5865e747786cf154ff363ab108a003f