Don't activate inactive windows on wheeling over them.

BUG: 161174


svn path=/trunk/KDE/kdebase/workspace/; revision=817599
This commit is contained in:
Luboš Luňák 2008-06-06 11:40:38 +00:00
parent 4fc3d50790
commit 43d5a25d39

View file

@ -1238,7 +1238,7 @@ bool Client::buttonPressEvent( Window w, int button, int state, int x, int y, in
}
else
{ // inactive inner window
if( !isActive() && w == wrapperId())
if( !isActive() && w == wrapperId() && button < 4 )
{
was_action = true;
perform_handled = true;
@ -1253,8 +1253,6 @@ bool Client::buttonPressEvent( Window w, int button, int state, int x, int y, in
case Button3:
com = options->commandWindow3();
break;
default:
com = Options::MouseActivateAndPassClick;
}
}
// active inner window