diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-24 17:16:16 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-24 17:16:16 +0000 |
| commit | 00d74f3d615d043fccaf8b0348a6ee4da815a1a1 (patch) | |
| tree | f0e1dc74630e476b7a06b6b47a5b62e2b2e98dff /openbox | |
| parent | 89d964d9feacdd07b1037d2c5a073dbbdf3f6304 (diff) | |
add PARTIAL_SRUT_EQUAL
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/geom.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openbox/geom.h b/openbox/geom.h index c992b4c0..6b5fb0a0 100644 --- a/openbox/geom.h +++ b/openbox/geom.h @@ -113,6 +113,12 @@ typedef struct _StrutPartial { ((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 && \ (s1).bottom == (s2).bottom && \ (s1).left_start == (s2).left_start && \ (s1).left_end == (s2).left_end && \ |
