From e3cd04c5deb3cd1a2f3785f254edea9dbe23e662 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 22 Dec 2004 13:00:59 +0000 Subject: [PATCH] break missing. svn path=/trunk/kdebase/kwin/; revision=372733 --- events.cpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/events.cpp b/events.cpp index d9c450ab01..e3d201abd8 100644 --- a/events.cpp +++ b/events.cpp @@ -372,15 +372,17 @@ bool Workspace::workspaceEvent( XEvent * e ) break; } case EnterNotify: - if ( QWhatsThis::inWhatsThisMode() ) { - QWidget* w = QWidget::find( e->xcrossing.window ); - if ( w ) - QWhatsThis::leaveWhatsThisMode(); - } - + if ( QWhatsThis::inWhatsThisMode() ) + { + QWidget* w = QWidget::find( e->xcrossing.window ); + if ( w ) + QWhatsThis::leaveWhatsThisMode(); + } if( electricBorder(e)) return true; + break; + } case LeaveNotify: { if ( !QWhatsThis::inWhatsThisMode() )