X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fgeom.h;fp=openbox%2Fgeom.h;h=6b5fb0a022ea55207a6357e874f58264ad91638f;hb=00d74f3d615d043fccaf8b0348a6ee4da815a1a1;hp=c992b4c02217774dfd6d53107276dfe44af7476d;hpb=89d964d9feacdd07b1037d2c5a073dbbdf3f6304;p=chaz%2Fopenbox 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 && \