mirror of
https://github.com/0intro/wmii
synced 2024-11-25 15:20:15 +03:00
14 lines
252 B
C
14 lines
252 B
C
/* Copyright ©2007-2010 Kris Maglione <maglione.k at Gmail>
|
|
* See LICENSE file for license details.
|
|
*/
|
|
#include "../x11.h"
|
|
|
|
Rectangle
|
|
rectaddpt(Rectangle r, Point p) {
|
|
r.min.x += p.x;
|
|
r.max.x += p.x;
|
|
r.min.y += p.y;
|
|
r.max.y += p.y;
|
|
return r;
|
|
}
|