]> Dogcows Code - chaz/openbox/blobdiff - openbox/geom.h
add PARTIAL_SRUT_EQUAL
[chaz/openbox] / openbox / geom.h
index c992b4c02217774dfd6d53107276dfe44af7476d..6b5fb0a022ea55207a6357e874f58264ad91638f 100644 (file)
@@ -110,6 +110,12 @@ typedef struct _StrutPartial {
     (s1).bottom = MAX((s1).bottom, (s2).bottom)
 
 #define STRUT_EQUAL(s1, s2) \
+    ((s1).left == (s2).left && \
+     (s1).top == (s2).top && \
+     (s1).right == (s2).right && \
+     (s1).bottom == (s2).bottom)
+
+#define PARTIAL_STRUT_EQUAL(s1, s2) \
     ((s1).left == (s2).left && \
      (s1).top == (s2).top && \
      (s1).right == (s2).right && \
This page took 0.021537 seconds and 4 git commands to generate.