small things

svn path=/trunk/kdebase/kwin/; revision=35447
This commit is contained in:
Matthias Ettrich 1999-11-29 18:31:28 +00:00
parent 322bccde7b
commit df37b4f6f3
2 changed files with 3 additions and 4 deletions

View file

@ -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;

View file

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