X-Git-Url: http://git.scottworley.com/tattlekey/blobdiff_plain/9266b741959871619b5431a2b4e4ebdad5567a3d..c5cbd7402015e45558995e00d9623f41ecdf9732:/client/tattlekey.c diff --git a/client/tattlekey.c b/client/tattlekey.c index f9b74c1..5e829d1 100644 --- a/client/tattlekey.c +++ b/client/tattlekey.c @@ -119,6 +119,8 @@ void service_queue() { switch (e.type) { case NEW_BUTTON_PRESS: { add_press(pp, &(press_t){e.buttonpress.timestamp, seq++, 0}); + if (seq == 0) + new_epoch(); } break; case RESEND_TIME: { /* OK, we're awake. Cool. Thanks! (We actually do the sends in the