turn RectList into a vector
This commit is contained in:
parent
47585423c6
commit
98d4ac78ff
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
||||||
#include <X11/Xutil.h>
|
#include <X11/Xutil.h>
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <list>
|
#include <vector>
|
||||||
|
|
||||||
class Rect {
|
class Rect {
|
||||||
public:
|
public:
|
||||||
|
@ -79,7 +79,7 @@ private:
|
||||||
int _x1, _y1, _x2, _y2;
|
int _x1, _y1, _x2, _y2;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef std::list<Rect> RectList;
|
typedef std::vector<Rect> RectList;
|
||||||
|
|
||||||
struct Strut {
|
struct Strut {
|
||||||
unsigned int top, bottom, left, right;
|
unsigned int top, bottom, left, right;
|
||||||
|
|
Loading…
Reference in a new issue