Fix graphical artifact in Wacom calibration UI

Resolves: RHEL-4088
This commit is contained in:
Carlos Garnacho 2025-09-17 16:43:24 +02:00
parent 154cd371b5
commit cb42643393
2 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From f447619873b2a4374a238cd6ea49b740ca0a4ced Mon Sep 17 00:00:00 2001
From: Carlos Garnacho <carlosg@gnome.org>
Date: Wed, 17 Sep 2025 06:58:52 +0200
Subject: [PATCH] calibrator: Avoid clearing background
This is already implicitly done for us as part of the widget redraw.
---
panels/wacom/calibrator/cc-clock.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/panels/wacom/calibrator/cc-clock.c b/panels/wacom/calibrator/cc-clock.c
index b39ddac..8e73d97 100644
--- a/panels/wacom/calibrator/cc-clock.c
+++ b/panels/wacom/calibrator/cc-clock.c
@@ -89,8 +89,6 @@ cc_clock_draw (GtkWidget *widget,
gtk_widget_get_allocation (widget, &allocation);
angle = cc_clock_get_angle (CC_CLOCK (widget));
- cairo_set_operator (cr, CAIRO_OPERATOR_CLEAR);
- cairo_paint (cr);
cairo_set_operator (cr, CAIRO_OPERATOR_OVER);
/* Draw the clock background */
--
2.51.0

View File

@ -14,7 +14,7 @@
Name: gnome-control-center
Version: 40.0
Release: 43%{?dist}
Release: 44%{?dist}
Summary: Utilities to configure the GNOME desktop
License: GPLv2+ and CC-BY-SA
@ -86,6 +86,9 @@ Patch25: power-handle-unknown-power-profile.patch
# https://issues.redhat.com/browse/RHEL-4111
Patch26: subscription-manager-translations.patch
# https://issues.redhat.com/browse/RHEL-4088
Patch27: 0001-calibrator-Avoid-clearing-background.patch
BuildRequires: chrpath
BuildRequires: cups-devel
BuildRequires: desktop-file-utils
@ -275,6 +278,10 @@ chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gnome-control-center
%dir %{_datadir}/gnome/wm-properties
%changelog
* Mon Dec 22 2025 Carlos Garnacho <cgarnach@redhat.com> - 40.0-44
- Fix graphical artifact in Wacom calibration UI
Resolves: RHEL-4088
* Wed Nov 05 2025 Felipe Borges <feborges@redhat.com> - 40.0.43
- Add translations to subscription manager interface
Resolves: RHEL-4111