68
66
caca_privevent_t privevent;
69
67
caca_timer_t timer = {0, 0};
82
94
/* If we got the event we wanted, return */
83
95
if(privevent.type & event_mask)
86
98
memcpy(ev, &privevent, sizeof(privevent));
90
102
/* If there is no timeout, sleep and try again. */