projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89d964d
)
add PARTIAL_SRUT_EQUAL
author
Dana Jansens
<danakj@orodu.net>
Wed, 24 Sep 2003 17:16:16 +0000
(17:16 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 24 Sep 2003 17:16:16 +0000
(17:16 +0000)
openbox/geom.h
patch
|
blob
|
history
diff --git
a/openbox/geom.h
b/openbox/geom.h
index c992b4c02217774dfd6d53107276dfe44af7476d..6b5fb0a022ea55207a6357e874f58264ad91638f 100644
(file)
--- 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 && \