Merge pull request #5216 from ckelsel/master

change SetTimer elapse from 10 to USER_TIMER_MINIMUM
This commit is contained in:
akallabeth 2019-01-25 10:01:30 +01:00 committed by GitHub
commit 8ed0b92928
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,7 +128,7 @@ static BOOL floatbar_animation(wfFloatBar* const floatbar, const BOOL show)
floatbar->animating = timer;
if (SetTimer(floatbar->hwnd, timer, 10, NULL) == NULL)
if (SetTimer(floatbar->hwnd, timer, USER_TIMER_MINIMUM, NULL) == NULL)
{
DWORD err = GetLastError();
WLog_ERR(TAG, "SetTimer failed with %08"PRIx32, err);