summaryrefslogtreecommitdiffstats
path: root/opensuse/core/tdelibs/kdelibs3-gcc-4.1-miscompile.diff
blob: cad4ceedd6020e64e2443f142fcd0321468b4266 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: kdecore/kwinmodule.cpp
===================================================================
--- kdecore/kwinmodule.cpp.orig
+++ kdecore/kwinmodule.cpp
@@ -436,7 +436,9 @@ QRect KWinModule::workArea( const QValue
 	if ( strut.bottom > 0  )
 	    r.setBottom( r.bottom() - (int) strut.bottom );
 
-	a = a.intersect(r);
+        QRect tmp;
+	tmp = a.intersect(r);
+        a = tmp;
     }
     return a;
 }