]> Dogcows Code - chaz/openbox/blobdiff - openbox/geom.h
make keeping windows on screen much more clever
[chaz/openbox] / openbox / geom.h
index e9ecf9d266a515c72bd2b9acbe87a3cfeeb54942..39832e949050c5cbb78ff1e73264945a2dd5108e 100644 (file)
@@ -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;
This page took 0.021665 seconds and 4 git commands to generate.