summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew S. Turnbull <sparky@bluefang-logic.com>2021-01-08 01:27:25 -0500
committerJoonas Niilola <juippis@gentoo.org>2021-01-24 19:30:54 +0200
commit043e0a28bd1bc3e00a21644b725f18ac853b0226 (patch)
tree53e4389464cde2a1274518a6b4e8dfe6f3ea170e /gnome-extra/nemo/files
parentx11-wm/muffin: 4.8.1 version bump (diff)
downloadgentoo-043e0a28bd1bc3e00a21644b725f18ac853b0226.tar.gz
gentoo-043e0a28bd1bc3e00a21644b725f18ac853b0226.tar.bz2
gentoo-043e0a28bd1bc3e00a21644b725f18ac853b0226.zip
gnome-extra/nemo: 4.8.4 version bump
Bug: https://bugs.gentoo.org/757708 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Matthew S. Turnbull <sparky@bluefang-logic.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'gnome-extra/nemo/files')
-rw-r--r--gnome-extra/nemo/files/nemo-4.6-captions-fix.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnome-extra/nemo/files/nemo-4.6-captions-fix.patch b/gnome-extra/nemo/files/nemo-4.6-captions-fix.patch
new file mode 100644
index 000000000000..0ea0c9158ad2
--- /dev/null
+++ b/gnome-extra/nemo/files/nemo-4.6-captions-fix.patch
@@ -0,0 +1,28 @@
+From b0c2b99b46797ca91bdba1d95fda33808174466b Mon Sep 17 00:00:00 2001
+From: Michael Webster <miketwebster@gmail.com>
+Date: Thu, 21 Jan 2021 09:41:40 -0500
+Subject: [PATCH] nemo-icon-canvas-item.c: restore the style context after
+ drawing any caption text.
+
+This seemed to be causing style recalculations to accumulate over
+time, and particularly when changing the style for window focus
+in/out events. This would eventually have a huge impact on user
+interaction.
+
+Fixes #2472
+---
+ libnemo-private/nemo-icon-canvas-item.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libnemo-private/nemo-icon-canvas-item.c b/libnemo-private/nemo-icon-canvas-item.c
+index d1b6cbfad..b32de357d 100644
+--- a/libnemo-private/nemo-icon-canvas-item.c
++++ b/libnemo-private/nemo-icon-canvas-item.c
+@@ -1143,6 +1143,7 @@ draw_label_text (NemoIconCanvasItem *item,
+ gtk_render_layout (context, cr,
+ x, text_rect.y0 + details->editable_text_height + LABEL_LINE_SPACING + TEXT_TOP_GAP,
+ additional_layout);
++ gtk_style_context_restore (context);
+ }
+
+ if (item->details->is_highlighted_as_keyboard_focus) {