X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FUtil.hh;h=393c00893beca853fcc7b10189029090ab48a454;hb=18064df19f670589b9387c194b55345c717473db;hp=2a40308d8c34ad84e44ca4d39b071df82ea16024;hpb=0305cbdc3ae8525c74b2bb9b23884035549e3407;p=chaz%2Fopenbox diff --git a/src/Util.hh b/src/Util.hh index 2a40308d..393c0089 100644 --- a/src/Util.hh +++ b/src/Util.hh @@ -71,6 +71,7 @@ public: inline bool valid(void) const { return _x2 > _x1 && _y2 > _y1; } bool intersects(const Rect &a) const; + bool contains(int _x, int _y) const; private: int _x1, _y1, _x2, _y2;