From 491490f505558522bd6704d469ed3e576a56a528 Mon Sep 17 00:00:00 2001 From: Zhang Zhaolong Date: Thu, 27 Feb 2014 12:21:59 +0800 Subject: [PATCH] wfreerdp: floatbar: fix lock behavior. --- client/Windows/wf_floatbar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/Windows/wf_floatbar.c b/client/Windows/wf_floatbar.c index 721357484..3f12a99c0 100644 --- a/client/Windows/wf_floatbar.c +++ b/client/Windows/wf_floatbar.c @@ -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: