From 00d74f3d615d043fccaf8b0348a6ee4da815a1a1 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 24 Sep 2003 17:16:16 +0000 Subject: [PATCH] add PARTIAL_SRUT_EQUAL --- openbox/geom.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 && \ -- 2.39.2