From c3a30b7ca5624f3f75778b57a871d6889770cce8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 9 Apr 2003 10:51:50 +0000 Subject: [PATCH] Fixes and tweaks in manager selection handling. svn path=/trunk/kdebase/kwin/; revision=219267 --- main.cpp | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/main.cpp b/main.cpp index 2cdc53572e..183fc905ff 100644 --- a/main.cpp +++ b/main.cpp @@ -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 ); }