/* Add a pointer event to the internal event queue. 
This function creates a struct win_event from the pointer event and adds it to the internal event queue. The event data is copied, so there is no need to keep the event variable alive after calling this function. */
void win_queue_pointer_event(const struct win_pointer_event *event)
/* Add a pointer event to the internal event queue. 
This function creates a struct win_event from the pointer event and adds it to the internal event queue. The event data is copied, so there is no need to keep the event variable alive after calling this function. */
void win_queue_pointer_event(const struct win_pointer_event *event)
{
	struct win_event w_event;
	w_event.type = WIN_EVENT_POINTER;
	w_event.pointer = *event;
	win_queue_event(&w_event);
}