summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorOliver Braun <obr@openoffice.org>2001-04-24 08:14:31 +0000
committerOliver Braun <obr@openoffice.org>2001-04-24 08:14:31 +0000
commitf4cd411e8e354ac0060a3232500485f4ffb5ec13 (patch)
tree8971581fb96ae422d435a456e85b1e507aa53995 /vcl/source
parent6c7e15829ac4cb0fed6e1b7a61a979b89c9e6d8b (diff)
fixed mouse capture detection
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/window/winproc.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx
index 79b1bd1214f1..a481df819835 100644
--- a/vcl/source/window/winproc.cxx
+++ b/vcl/source/window/winproc.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: winproc.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: ssa $ $Date: 2001-04-06 06:49:24 $
+ * last change: $Author: obr $ $Date: 2001-04-24 09:14:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -714,7 +714,8 @@ long ImplHandleMouseEvent( Window* pWindow, USHORT nSVEvent, BOOL bMouseLeave,
sal_False );
// the X dnd implementation uses a second display connection
- if( ! pMouseDownWin->IsMouseCaptured() )
+ // FIXME: to be moved to UNX MouseButtonDown ??
+ if( ! pSVData->maWinData.mpCaptureWin )
pMouseDownWin->mpFrame->CaptureMouse( sal_False );
ULONG nCount = Application::ReleaseSolarMutex();