break missing.

svn path=/trunk/kdebase/kwin/; revision=372733
This commit is contained in:
Luboš Luňák 2004-12-22 13:00:59 +00:00
parent a062ac8878
commit e3cd04c5de

View file

@ -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() )