summaryrefslogtreecommitdiff
path: root/openbox/geom.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-02 02:03:06 +0000
committerDana Jansens <danakj@orodu.net>2007-05-02 02:03:06 +0000
commit97cbacd9e41ae2315434d6e83ce78502a881d54f (patch)
treef2ba21522d77d4cae565a5c98bd8e11b9d819cab /openbox/geom.h
parent0da9aa2660b51ce6208b041cc6e14f15e522c289 (diff)
make keeping windows on screen much more clever
Diffstat (limited to 'openbox/geom.h')
-rw-r--r--openbox/geom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbox/geom.h b/openbox/geom.h
index e9ecf9d2..39832e94 100644
--- a/openbox/geom.h
+++ b/openbox/geom.h
@@ -26,6 +26,7 @@ typedef struct _Point {
} Point;
#define POINT_SET(pt, nx, ny) (pt).x = (nx), (pt).y = (ny)
+#define POINT_EQUAL(p1, p2) ((p1).x == (p2).x && (p1).y == (p2).y)
typedef struct _Size {
int width;