summaryrefslogtreecommitdiff
path: root/extra/kdebase-workspace/plasma-desktop-crash.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/kdebase-workspace/plasma-desktop-crash.patch')
-rw-r--r--extra/kdebase-workspace/plasma-desktop-crash.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/extra/kdebase-workspace/plasma-desktop-crash.patch b/extra/kdebase-workspace/plasma-desktop-crash.patch
new file mode 100644
index 000000000..eaa714687
--- /dev/null
+++ b/extra/kdebase-workspace/plasma-desktop-crash.patch
@@ -0,0 +1,21 @@
+commit 6878e972b87e9ef34617c6280eda8ac5d7113a29
+Author: Eike Hein <hein@kde.org>
+Date: Sun Aug 25 16:38:15 2013 +0200
+
+ Don't attempt to publish geometry for launcher items.
+
+ CCBUG:322283
+
+diff --git a/plasma/desktop/applets/tasks/package/contents/code/tools.js b/plasma/desktop/applets/tasks/package/contents/code/tools.js
+index 53e5563..028dd2c 100644
+--- a/plasma/desktop/applets/tasks/package/contents/code/tools.js
++++ b/plasma/desktop/applets/tasks/package/contents/code/tools.js
+@@ -100,7 +100,7 @@ function publishIconGeometries(taskItems) {
+ for (j = 0; j < taskIdList.length; ++j) {
+ tasks.itemGeometryChanged(taskIdList[j].itemId, task.x, task.y, task.width, task.height);
+ }
+- } else {
++ } else if (!task.isLauncher) {
+ tasks.itemGeometryChanged(task.itemId, task.x, task.y, task.width, task.height);
+ }
+ }