summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Schäfer <ssa@openoffice.org>2002-02-04 11:13:36 +0000
committerStephan Schäfer <ssa@openoffice.org>2002-02-04 11:13:36 +0000
commit78fa9c1f9df94d07defb8490e89c6a759ada50e6 (patch)
tree2c3af2461106e41e35c3777c9cdcdc06dcc4d10b
parent17b2baf5c1ad64e4a5229278be7fb8fa9d80a7d0 (diff)
#95153# ignore mouse events of type EnterWindow to avoid menu selection during menu popup
-rw-r--r--vcl/source/window/menu.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index 45d24613066e..e7839754b8bf 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: menu.cxx,v $
*
- * $Revision: 1.29 $
+ * $Revision: 1.30 $
*
- * last change: $Author: ssa $ $Date: 2001-12-05 11:22:03 $
+ * last change: $Author: ssa $ $Date: 2002-02-04 12:13:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2686,7 +2686,7 @@ void MenuFloatingWindow::MouseButtonUp( const MouseEvent& rMEvt )
void MenuFloatingWindow::MouseMove( const MouseEvent& rMEvt )
{
- if ( !IsVisible() || rMEvt.IsSynthetic() )
+ if ( !IsVisible() || rMEvt.IsSynthetic() || rMEvt.IsEnterWindow() )
return;
if ( rMEvt.IsLeaveWindow() )