fix auto raise once again

svn path=/trunk/kdebase/kwin/; revision=68000
icc-effect-5.14.5
Matthias Ettrich 2000-10-16 12:00:22 +00:00
parent 1266db9901
commit 3c8525c963
1 changed files with 6 additions and 5 deletions

View File

@ -1837,7 +1837,8 @@ bool Client::x11Event( XEvent * e)
if ( options->focusPolicy == Options::ClickToFocus )
return TRUE;
if ( options->autoRaise && !isDesktop() && !isDock() && !isMenu() && workspace()->focusChangeEnabled() ) {
if ( options->autoRaise && !isDesktop() && !isDock() && !isMenu() && workspace()->focusChangeEnabled()
&& workspace()->topClientOnDesktop() != this ) {
delete autoRaiseTimer;
autoRaiseTimer = new QTimer( this );
connect( autoRaiseTimer, SIGNAL( timeout() ), this, SLOT( autoRaise() ) );