X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fgeom.h;h=6b5fb0a022ea55207a6357e874f58264ad91638f;hb=a51d2082bd28baa11e28441bc0fb4016150618df;hp=c992b4c02217774dfd6d53107276dfe44af7476d;hpb=16f46c296d1fcd3f27fc62a18e71c55fb3fd3e88;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 && \