]> Dogcows Code - chaz/openbox/blobdiff - src/Util.hh
exec stuff with "exec " so the sh isnt left over in memory for each process
[chaz/openbox] / src / Util.hh
index 393c00893beca853fcc7b10189029090ab48a454..5453f225adfb0055190030c3e30d2e542117e9ba 100644 (file)
@@ -71,12 +71,17 @@ public:
   inline bool valid(void) const { return _x2 > _x1 && _y2 > _y1; }
 
   bool intersects(const Rect &a) const;
-  bool contains(int _x, int _y) const;
 
 private:
   int _x1, _y1, _x2, _y2;
 };
 
+struct Strut {
+  unsigned int top, bottom, left, right;
+
+  Strut(void): top(0), bottom(0), left(0), right(0) {}
+};
+
 /* XXX: this needs autoconf help */
 const unsigned int BSENTINEL = 65535;
 
@@ -102,11 +107,9 @@ struct PointerAssassin {
 
 std::string itostring(unsigned long i);
 std::string itostring(long i);
-inline std::string itostring(unsigned int i) {
-  return itostring((unsigned long) i);
-}
-inline std::string itostring(int i) {
-  return itostring((long) i);
-}
-
+inline std::string itostring(unsigned int i)
+  { return itostring((unsigned long) i); }
+inline std::string itostring(int i)
+  { return itostring((long) i); }
+  
 #endif
This page took 0.021519 seconds and 4 git commands to generate.