1
=== modified file 'wall/src/offset_movement/src/offset-movement.cpp'
2
--- a/wall/src/offset_movement/src/offset-movement.cpp 2012-05-09 01:57:02 +0000
3
+++ b/wall/src/offset_movement/src/offset-movement.cpp 2012-11-29 03:30:20 +0000
5
compiz::wall::movementWindowOnScreen (const CompRect &serverBorderRect,
6
const CompRegion &screenRegion)
8
- CompRegion sbrRegion (static_cast <const CompRect &> (serverBorderRect));
9
+ CompRegion sbrRegion (serverBorderRect);
11
/* If the window would be partially offscreen
12
* after it was moved then we should move it back
17
- for (std::vector <CompRect>::const_iterator it = rem.rects ().begin ();
18
- it != rem.rects ().end ();
19
+ const CompRect::vector &rects (rem.rects ());
21
+ for (std::vector <CompRect>::const_iterator it = rects.begin ();
25
const CompRect &r = *it;