parent
df05c96459
commit
3d3c5fa658
2 changed files with 6 additions and 3 deletions
|
@ -2635,8 +2635,7 @@ bool Client::performMouseCommand( Options::MouseCommand command, QPoint globalPo
|
|||
case Options::MouseOperationsMenu:
|
||||
if ( isActive() & ( options->focusPolicy != Options::ClickToFocus && options->clickRaise ) )
|
||||
autoRaise();
|
||||
workspace()->clientPopup( this )->exec( globalPos );
|
||||
workspace()->requestFocus( this );
|
||||
workspace()->showWindowMenu( globalPos, this );
|
||||
break;
|
||||
case Options::MouseToggleRaiseAndLower:
|
||||
if ( workspace()->topClientOnDesktop() == this )
|
||||
|
|
|
@ -1670,8 +1670,12 @@ void Workspace::clientHidden( Client* c )
|
|||
|
||||
|
||||
// KDE4 - remove the unused argument
|
||||
QPopupMenu* Workspace::clientPopup( Client* )
|
||||
QPopupMenu* Workspace::clientPopup( Client* cl )
|
||||
{
|
||||
if( cl != active_client ) {
|
||||
kdWarning( 1212 ) << "Using Workspace::clientPopup() with an argument is deprecated" << endl;
|
||||
activateClient( cl );
|
||||
}
|
||||
return clientPopup();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue