Kaydet (Commit) 7dcbc570 authored tarafından Caolán McNamara's avatar Caolán McNamara

silence mouse release warning

Change-Id: Ie3c6da36f1c462080f78e8713e9e5dcd228fbacf
üst a80dea3e
...@@ -116,15 +116,15 @@ void FuPoor::Deactivate() ...@@ -116,15 +116,15 @@ void FuPoor::Deactivate()
aDragTimer.Stop(); aDragTimer.Stop();
aScrollTimer.Stop(); aScrollTimer.Stop();
aDelayToScrollTimer.Stop (); aDelayToScrollTimer.Stop ();
bScrollable = bScrollable = bDelayActive = false;
bDelayActive = false;
if (pDialog) if (pDialog)
{ {
pDialog->Hide(); pDialog->Hide();
} }
if (mpWindow) mpWindow->ReleaseMouse (); if (mpWindow && mpWindow->IsMouseCaptured())
mpWindow->ReleaseMouse();
} }
void FuPoor::SetWindow(::sd::Window* pWin) void FuPoor::SetWindow(::sd::Window* pWin)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment