]> Dogcows Code - chaz/openbox/blobdiff - otk/strut.hh
add a keyboard plugin
[chaz/openbox] / otk / strut.hh
index 365055d4a1e8818afc16200d7245f34778cd2a7d..71553da2e74a09845d8f928948803caf25af4212 100644 (file)
@@ -23,6 +23,11 @@ struct Strut {
   Strut(void): top(0), bottom(0), left(0), right(0) {}
   //! Constructs a new Strut with margins
   Strut(int l, int t, int r, int b): top(t), bottom(b), left(l), right(r) {}
+
+  bool operator==(const Strut &o) const {
+    return top == o.top && bottom == o.bottom && left == o.left &&
+      right == o.right;
+  }
 };
 
 }
This page took 0.022609 seconds and 4 git commands to generate.