wfreerdp: floatbar: fix lock behavior.

This commit is contained in:
Zhang Zhaolong 2014-02-27 12:21:59 +08:00
parent 53ed501d14
commit 491490f505

View File

@ -382,7 +382,8 @@ LRESULT CALLBACK floatbar_proc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam
case TIMER_HIDE:
{
KillTimer(hWnd, TIMER_HIDE);
floatbar_animation(floatbar, FALSE);
if (!floatbar->locked)
floatbar_animation(floatbar, FALSE);
break;
}
case TIMER_ANIMAT_SHOW: