spawn_window.c
static bool isPointerInsideSquare(int x, int y, Square *square)
{
	return x >= square->x && x < square->x + square->size &&
		y >= square->y && y < square->y + square->size;
}
// This tells us if the pointer is inside the square, using coordinates relative
// to the host window
This tells us if the pointer is inside the square, using coordinates relative
to the host window
This tells us if the pointer is inside the square using coordinates relative to the host window
static bool isPointerInsideSquare(int x, int y, Square *square)
{
	return x >= square->x && x < square->x + square->size &&
		y >= square->y && y < square->y + square->size;
}
static bool isPointerInsideSquare ( int x , int y , Square * square ) { return x >= square -> x && x < square -> x + square -> size && y >= square -> y && y < square -> y + square -> size ; }
This tells us if the pointer is inside the square, using coordinates relative
to the host window
This tells us if the pointer is inside the square using coordinates relative to the host window