Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
if (expire < now) {
if ((flags & TIMER_FLAG_ALLOW_NEGATIVE) == 0)
log_bug_client(timer->libinput,
- "timer %s: offset negative (-%dms)\n",
+ "timer %s: scheduled expiry is in the past (-%dms), your system is too slow\n",
timer->timer_name,
us2ms(now - expire));
} else if ((expire - now) > ms2us(5000)) {
int *warning_triggered = (int*)libinput_get_user_data(libinput);
if (priority == LIBINPUT_LOG_PRIORITY_ERROR &&
- strstr(format, "offset negative"))
+ strstr(format, "scheduled expiry is in the past"))
(*warning_triggered)++;
}