From df37b4f6f3726afee2ff9e77efcc9148a7ce1970 Mon Sep 17 00:00:00 2001 From: Matthias Ettrich Date: Mon, 29 Nov 1999 18:31:28 +0000 Subject: [PATCH] small things svn path=/trunk/kdebase/kwin/; revision=35447 --- client.cpp | 5 ++--- main.cpp | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/client.cpp b/client.cpp index b5fe7f4523..146ff5681b 100644 --- a/client.cpp +++ b/client.cpp @@ -134,7 +134,8 @@ WindowWrapper::WindowWrapper( WId w, Client *parent, const char* name) // install a passive grab to catch mouse button events XGrabButton(qt_xdisplay(), AnyButton, AnyModifier, winId(), FALSE, - ButtonPressMask, GrabModeSync, GrabModeAsync, + ButtonPressMask, + GrabModeSync, GrabModeAsync, None, None ); } @@ -1175,8 +1176,6 @@ bool Client::eventFilter( QObject *o, QEvent * e) if ( o != wwrap ) return FALSE; switch ( e->type() ) { - case QEvent::MouseButtonRelease: - break; case QEvent::Show: windowWrapperShowEvent( (QShowEvent*)e ); break; diff --git a/main.cpp b/main.cpp index c8daae066c..915e048fdb 100644 --- a/main.cpp +++ b/main.cpp @@ -25,7 +25,7 @@ Time kwin_time = CurrentTime; static bool initting = FALSE; int x11ErrorHandler(Display *d, XErrorEvent *e){ char msg[80], req[80], number[80]; - bool ignore_badwindow = FALSE; //maybe temporary + bool ignore_badwindow = TRUE; //maybe temporary if (initting && (