From 3d680e4be3a5e8e9efe7b950d93cfaf16aad1785 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: May 25 2010 22:23:16 +0000 Subject: - Blur shadow around widgets does not smoothly fade out (kde#235620) --- diff --git a/kdebase-workspace-4.4.80-kde235620.patch b/kdebase-workspace-4.4.80-kde235620.patch new file mode 100644 index 0000000..4d72ba9 --- /dev/null +++ b/kdebase-workspace-4.4.80-kde235620.patch @@ -0,0 +1,15 @@ +--- trunk/KDE/kdebase/workspace/kwin/effects/blur/blur.cpp 2010/05/20 20:23:39 1128975 ++++ trunk/KDE/kdebase/workspace/kwin/effects/blur/blur.cpp 2010/05/25 17:34:17 1130567 +@@ -82,9 +82,9 @@ + QRegion region; + + const QByteArray value = w->readProperty(net_wm_blur_region, XA_CARDINAL, 32); +- if (value.size() > 0 && !(value.size() % (4 * sizeof(quint32)))) { +- const quint32 *cardinals = reinterpret_cast(value.constData()); +- for (unsigned int i = 0; i < value.size() / sizeof(quint32);) { ++ if (value.size() > 0 && !(value.size() % (4 * sizeof(unsigned long)))) { ++ const unsigned long *cardinals = reinterpret_cast(value.constData()); ++ for (unsigned int i = 0; i < value.size() / sizeof(unsigned long);) { + int x = cardinals[i++]; + int y = cardinals[i++]; + int w = cardinals[i++]; diff --git a/kdebase-workspace.spec b/kdebase-workspace.spec index 2bb5146..0242075 100644 --- a/kdebase-workspace.spec +++ b/kdebase-workspace.spec @@ -16,7 +16,7 @@ Summary: KDE Workspace Name: kdebase-workspace Version: 4.4.80 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 Group: User Interface/Desktops @@ -62,9 +62,8 @@ Patch22: kdebase-workspace-4.4.0-classicmenu-games.patch # "keyboard stops working", https://bugs.kde.org/show_bug.cgi?id=171685#c135 Patch50: kdebase-workspace-4.3.3-kde#171685.patch -# 4.4 patches - # 4.5 patches +Patch100: kdebase-workspace-4.4.80-kde235620.patch # moving to non-multilib hack Obsoletes: kdebase-workspace < 4.3.0-2 @@ -322,7 +321,8 @@ Requires: akonadi # upstream patches %patch50 -p1 -b .kde#171685 -# 4.4 patches +# 4.5 patches +%patch100 -p4 -b .kde235620 %build @@ -690,6 +690,9 @@ fi %changelog +* Tue May 25 2010 Rex Dieter - 4.4.80-2 +- Blur shadow around widgets does not smoothly fade out (kde#235620) + * Fri May 21 2010 Jaroslav Reznik - 4.4.80-1 - 4.5 Beta 1 (4.4.80) - kxkb and safestartkde has been removed