Re: [PATCH libinput 4/5] timer: Warn about negative timer offsets

2015-07-27 Thread Peter Hutterer
On Tue, Jul 28, 2015 at 12:47:05PM +0800, Jonas Ådahl wrote: > Even if it may be caused by extreme stalls, warn if the timer was set to > be triggered even before 'now' when it actually is triggered, as it is > more likely a programming error. > > Part of the reason for this commit was not to conv

[PATCH libinput 4/5] timer: Warn about negative timer offsets

2015-07-27 Thread Jonas Ådahl
Even if it may be caused by extreme stalls, warn if the timer was set to be triggered even before 'now' when it actually is triggered, as it is more likely a programming error. Part of the reason for this commit was not to convert the unsigned int to a signed int (which abs() does). Signed-off-by