summaryrefslogtreecommitdiff
path: root/vcl/source/window/winproc.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-07-07 15:11:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-07-07 15:37:09 +0100
commit84b1ab44aed51da8393b01a7cfddfa78234e2acc (patch)
tree0fd23f086b4557c07e78aa5d97e436fda373866e /vcl/source/window/winproc.cxx
parente057560229d664bcd0ad71ea9ed2352283cd6e21 (diff)
FloatWinPopupFlags::NoMouseRectClose was never set
Change-Id: I5df81113c5ab4009eff82ec0d8c15094a1e24a3a
Diffstat (limited to 'vcl/source/window/winproc.cxx')
-rw-r--r--vcl/source/window/winproc.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx
index 88ab4430ce9d..f3da016429a7 100644
--- a/vcl/source/window/winproc.cxx
+++ b/vcl/source/window/winproc.cxx
@@ -105,8 +105,7 @@ static bool ImplHandleMouseFloatMode( vcl::Window* pChild, const Point& rMousePo
}
else if ( nHitTest == HITTEST_RECT )
{
- if ( !(pFloat->GetPopupModeFlags() & FloatWinPopupFlags::NoMouseRectClose) )
- pFloat->ImplSetMouseDown();
+ pFloat->ImplSetMouseDown();
return true;
}
}