svn path=/trunk/kdebase/kwin/; revision=109466
This commit is contained in:
Matthias Ettrich 2001-08-07 09:21:09 +00:00
parent 5f2ca6211f
commit 18c0f2687a

View file

@ -411,7 +411,8 @@ bool WindowWrapper::x11Event( XEvent * e)
if ( ((Client*)parentWidget())->isActive()
&& ( options->focusPolicy != Options::ClickToFocus
&& options->clickRaise && !bModKeyHeld ) ) {
((Client*)parentWidget())->autoRaise();
if ( e->xbutton.button < 4 ) // exclude wheel
((Client*)parentWidget())->autoRaise();
ungrabButton( winId(), None );
}