This somehow escaped being included in r964140...

CCBUG:164261

svn path=/trunk/KDE/kdebase/workspace/; revision=965103
This commit is contained in:
A. Lynn Spehr 2009-05-07 23:24:20 +00:00
parent 5b94a35049
commit 72521c5691

View file

@ -1230,7 +1230,7 @@ bool Client::buttonPressEvent( Window w, int button, int state, int x, int y, in
}
else
{ // inactive inner window
if( !isActive() && w == wrapperId() && button < 4 )
if( !isActive() && w == wrapperId() && button < 6 )
{
was_action = true;
perform_handled = true;
@ -1245,8 +1245,12 @@ bool Client::buttonPressEvent( Window w, int button, int state, int x, int y, in
case Button3:
com = options->commandWindow3();
break;
case Button4:
case Button5:
com = options->commandWindowWheel();
break;
}
}
}
// active inner window
if( isActive() && w == wrapperId()
&& options->clickRaise && button < 4 ) // exclude wheel