From: Dana Jansens Date: Wed, 24 Sep 2003 17:16:16 +0000 (+0000) Subject: add PARTIAL_SRUT_EQUAL X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=00d74f3d615d043fccaf8b0348a6ee4da815a1a1;p=chaz%2Fopenbox add PARTIAL_SRUT_EQUAL --- diff --git a/openbox/geom.h b/openbox/geom.h index c992b4c0..6b5fb0a0 100644 --- a/openbox/geom.h +++ b/openbox/geom.h @@ -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 && \