Fixes and tweaks in manager selection handling.

svn path=/trunk/kdebase/kwin/; revision=219267
This commit is contained in:
Luboš Luňák 2003-04-09 10:51:50 +00:00
parent f4385b9b0c
commit c3a30b7ca5

View file

@ -165,26 +165,7 @@ bool Application::x11EventFilter( XEvent *e )
{
if ( Workspace::self()->workspaceEvent( e ) )
return TRUE;
bool handled = false;
switch( e->type )
{
case SelectionClear:
handled = owner.filterSelectionClear( e->xselectionclear );
break;
case SelectionNotify:
handled = owner.filterSelectionNotify( e->xselection );
break;
case SelectionRequest:
handled = owner.filterSelectionRequest( e->xselectionrequest );
break;
case DestroyNotify:
handled = owner.filterDestroyNotify( e->xdestroywindow );
break;
default:
break;
}
if( handled )
return true;
owner.filterEvent( e );
return KApplication::x11EventFilter( e );
}