Cleanup: update comment, reference issue number

The bug referenced from [0] wasn't correct (should have been #40009).
Updated code-comment.

[0]: efef709ec7
This commit is contained in:
Campbell Barton 2023-12-06 19:29:29 +11:00
parent efef709ec7
commit 86146c79f8
1 changed files with 2 additions and 1 deletions

View File

@ -295,7 +295,8 @@ uint64_t GHOST_SystemX11::ms_from_input_time(const Time timestamp) const
/* NOTE(@ideasman42): Return a time compatible with `getMilliSeconds()`,
* this is needed as X11 time-stamps use monotonic time.
* The X11 implementation *could* use any basis, in practice though we are supporting
* XORG/LIBINPUT which uses time-stamps based on the monotonic time. */
* XORG/LIBINPUT which uses time-stamps based on the monotonic time,
* Needed to resolve failure to detect double-clicking, see: #40009. */
return uint64_t(timestamp) - m_start_time_monotonic;
}