wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

eqrect.c (259B)


      1 /* Copyright ©2007-2010 Kris Maglione <maglione.k at Gmail>
      2  * See LICENSE file for license details.
      3  */
      4 #include "../x11.h"
      5 
      6 int
      7 eqrect(Rectangle a, Rectangle b) {
      8 	return a.min.x==b.min.x && a.max.x==b.max.x
      9 	    && a.min.y==b.min.y && a.max.y==b.max.y;
     10 }