From 2f32c804ca1fac9b8d57478196ce2639fbcf457a Mon Sep 17 00:00:00 2001 From: Matthias Ettrich Date: Sun, 9 Jul 2000 21:23:04 +0000 Subject: [PATCH] fix svn path=/trunk/kdebase/kwin/; revision=55882 --- client.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client.cpp b/client.cpp index c2e51522ea..32df54e5a2 100644 --- a/client.cpp +++ b/client.cpp @@ -1613,6 +1613,8 @@ bool Client::x11Event( XEvent * e) return TRUE; } if ( e->type == LeaveNotify && e->xcrossing.mode == NotifyNormal ) { + if ( e->xcrossing.detail == NotifyInferior ) + return FALSE; delete autoRaiseTimer; autoRaiseTimer = 0; if ( !buttonDown ) @@ -1778,6 +1780,7 @@ void Client::setActive( bool act) return; active = act; if ( !active && autoRaiseTimer ) { + qDebug("delete autoraise setActive %s", caption().latin1()); delete autoRaiseTimer; autoRaiseTimer = 0; } @@ -2341,6 +2344,7 @@ QPixmap Client::animationPixmap( int w ) void Client::autoRaise() { + qDebug("autoRaise %s", caption().latin1()); workspace()->raiseClient( this ); delete autoRaiseTimer; autoRaiseTimer = 0;