]> Dogcows Code - chaz/openbox/commitdiff
add PARTIAL_SRUT_EQUAL
authorDana Jansens <danakj@orodu.net>
Wed, 24 Sep 2003 17:16:16 +0000 (17:16 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 24 Sep 2003 17:16:16 +0000 (17:16 +0000)
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.023638 seconds and 4 git commands to generate.