store received time in events for later processing

This commit is contained in:
Cedric Roux
2016-05-12 13:00:19 +02:00
parent e5689a5bd1
commit df5afaa93d
3 changed files with 23 additions and 0 deletions
+4
View File
@@ -99,7 +99,11 @@ event get_event(int s, char *v, void *d)
length -= sizeof(int);
fullread(s, v, length);
#ifdef T_SEND_TIME
return new_event(t, type, length, v, d);
#else
return new_event(type, length, v, d);
#endif
}
static void *gui_thread(void *_g)