libadwaita/0019-tab-box-grid-Fix-a-copypaste-error.patch
Christian Hergert d0a41fdac7
Update to 1.6.6 with manual patching
Previously we had 1.6.1 but now there is 1.6.6. However after 1.6.2
libadwaita decided in a minor release to redo their build system to no
longer pre-generate CSS but instead push that on downstreams.

Ignoring the wisdom of doing this in a minor release, just work around
it by manually backporting the changes. They don't affect any CSS which
would need to be regenerated anyway.

Resolves: RHEL-86191
2025-04-29 13:19:21 -07:00

44 lines
1.2 KiB
Diff

From cebbe2a6653062be1ff14371b896689a4d61c235 Mon Sep 17 00:00:00 2001
From: Alice Mikhaylenko <alicem@gnome.org>
Date: Mon, 20 Jan 2025 19:09:15 +0400
Subject: [PATCH 19/33] tab-box/grid: Fix a copypaste error
Fixes https://gitlab.gnome.org/GNOME/libadwaita/-/issues/955
(cherry picked from commit f7fb601a54ec0d9924fc8e64b6c59f8c0110fcf9)
---
src/adw-tab-box.c | 2 +-
src/adw-tab-grid.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/adw-tab-box.c b/src/adw-tab-box.c
index e0111fba..43fe29a1 100644
--- a/src/adw-tab-box.c
+++ b/src/adw-tab-box.c
@@ -1948,7 +1948,7 @@ close_animation_done_cb (TabInfo *info)
self->reordered_tab = NULL;
if (self->middle_clicked_tab == info)
- self->pressed_tab = NULL;
+ self->middle_clicked_tab = NULL;
remove_and_free_tab_info (info);
diff --git a/src/adw-tab-grid.c b/src/adw-tab-grid.c
index 35b0c018..c4394e7d 100644
--- a/src/adw-tab-grid.c
+++ b/src/adw-tab-grid.c
@@ -1957,7 +1957,7 @@ close_animation_done_cb (TabInfo *info)
self->reordered_tab = NULL;
if (self->middle_clicked_tab == info)
- self->pressed_tab = NULL;
+ self->middle_clicked_tab = NULL;
remove_and_free_tab_info (info);
--
2.47.1