Hi, Compiz++ uses CompRegion instead of XRectangle, right? This patch tries to improve CompRect usability
*First* I was using CompRect, but I've found that the only way to modify a CompRect is using setGeometry function: void CompOutput::setGeometry (int x1, int x2, int y1, int y2); So I created setX1, setY1, setX2, setY2 functions *Second* As you can see above, setGeometry uses: (x1,x2,y1,y2). I'm proposing to change to setGeometry (x1,y1,x2,y2) A Rectangle is defined by two points (x1,y1) and (x2,y2). So, setGeometry will be more intuitive if we use this order. This patch change all core/plugins and src/ Thanks for attention P.S.: Sorry for bad english. -- Eduardo Gurgel Pinho (GELSoL-UFC) (Gentoo) Linux User #415930 http://edgurgel.wordpress.com http://alu.dc.ufc.br/~eduardo <http://alu.dc.ufc.br/%7Eeduardo>
comprect.patch
Description: Binary data
_______________________________________________ compiz mailing list compiz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/compiz