Regression was introduced in 3372dfcd3e. Only when platform-specific code can give us the global time of the last user input event we rely on idle time for notifications hiding. Fixes #5791.