/* Check if point is inside clipping region. 
This function checks if a point is inside the clipping region. The origin field of the clipping region is not relevant, only the corners of the clipping region itself. */
bool win_is_inside_clip(const struct win_clip_region *clip, const struct win_point *point)
/* Check if point is inside clipping region. 
This function checks if a point is inside the clipping region. The origin field of the clipping region is not relevant, only the corners of the clipping region itself. */
bool win_is_inside_clip(const struct win_clip_region *clip, const struct win_point *point)
{
	return (clip->NW.x <= point->x) &&
	       (clip->NW.y <= point->y) &&
	       (point->x <= clip->SE.x) &&
	       (point->y <= clip->SE.y);
}