summaryrefslogtreecommitdiff
blob: a706370d923208d962d9498d7e1c979fe0d5511a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
diff -ruN kwin-4.6.5.orig/kwin/effects.cpp kwin-4.6.5/kwin/effects.cpp
--- kwin-4.6.5.orig/kwin/effects.cpp	2011-02-25 23:10:02.000000000 +0100
+++ kwin-4.6.5/kwin/effects.cpp	2011-09-13 22:25:18.943156120 +0200
@@ -156,7 +156,7 @@
     {
     if( current_paint_screen < loaded_effects.size())
         {
-        loaded_effects[current_paint_screen++].second->prePaintScreen( data, time );
+        loaded_effects.at(current_paint_screen++).second->prePaintScreen( data, time );
         --current_paint_screen;
         }
     // no special final code
@@ -166,7 +166,7 @@
     {
     if( current_paint_screen < loaded_effects.size())
         {
-        loaded_effects[current_paint_screen++].second->paintScreen( mask, region, data );
+        loaded_effects.at(current_paint_screen++).second->paintScreen( mask, region, data );
         --current_paint_screen;
         }
     else
@@ -177,7 +177,7 @@
     {
     if( current_paint_screen < loaded_effects.size())
         {
-        loaded_effects[current_paint_screen++].second->postPaintScreen();
+        loaded_effects.at(current_paint_screen++).second->postPaintScreen();
         --current_paint_screen;
         }
     // no special final code
@@ -187,7 +187,7 @@
     {
     if( current_paint_window < loaded_effects.size())
         {
-        loaded_effects[current_paint_window++].second->prePaintWindow( w, data, time );
+        loaded_effects.at(current_paint_window++).second->prePaintWindow( w, data, time );
         --current_paint_window;
         }
     // no special final code
@@ -197,7 +197,7 @@
     {
     if( current_paint_window < loaded_effects.size())
         {
-        loaded_effects[current_paint_window++].second->paintWindow( w, mask, region, data );
+        loaded_effects.at(current_paint_window++).second->paintWindow( w, mask, region, data );
         --current_paint_window;
         }
     else
@@ -208,7 +208,7 @@
     {
     if( current_paint_effectframe < loaded_effects.size())
         {
-        loaded_effects[current_paint_effectframe++].second->paintEffectFrame( frame, region, opacity, frameOpacity );
+        loaded_effects.at(current_paint_effectframe++).second->paintEffectFrame( frame, region, opacity, frameOpacity );
         --current_paint_effectframe;
         }
     else
@@ -222,7 +222,7 @@
     {
     if( current_paint_window < loaded_effects.size())
         {
-        loaded_effects[current_paint_window++].second->postPaintWindow( w );
+        loaded_effects.at(current_paint_window++).second->postPaintWindow( w );
         --current_paint_window;
         }
     // no special final code
@@ -240,7 +240,7 @@
     {
     if( current_draw_window < loaded_effects.size())
         {
-        loaded_effects[current_draw_window++].second->drawWindow( w, mask, region, data );
+        loaded_effects.at(current_draw_window++).second->drawWindow( w, mask, region, data );
         --current_draw_window;
         }
     else
@@ -251,7 +251,7 @@
     {
     if( current_build_quads < loaded_effects.size())
         {
-        loaded_effects[current_build_quads++].second->buildQuads( w, quadList );
+        loaded_effects.at(current_build_quads++).second->buildQuads( w, quadList );
         --current_build_quads;
         }
     }