some more mouse functions (raise/lower/toggle r.l.)
svn path=/trunk/kdebase/kwin/; revision=54049
This commit is contained in:
parent
ead1f75144
commit
2322242681
1 changed files with 12 additions and 6 deletions
|
@ -1837,12 +1837,18 @@ bool Client::performMouseCommand( Options::MouseCommand command, QPoint globalPo
|
|||
bool replay = FALSE;
|
||||
switch (command) {
|
||||
case Options::MouseRaise:
|
||||
workspace()->raiseClient( this );
|
||||
break;
|
||||
case Options::MouseLower:
|
||||
workspace()->lowerClient( this );
|
||||
break;
|
||||
case Options::MouseOperationsMenu:
|
||||
break;
|
||||
case Options::MouseToggleRaiseAndLower:
|
||||
if ( workspace()->topClientOnDesktop() == this )
|
||||
workspace()->lowerClient( this );
|
||||
else
|
||||
workspace()->raiseClient( this );
|
||||
break;
|
||||
case Options::MouseActivateAndRaise:
|
||||
workspace()->requestFocus( this );
|
||||
|
|
Loading…
Reference in a new issue