Forward port commit 1134074
CCBUG: 240464 svn path=/trunk/KDE/kdebase/workspace/; revision=1134076
This commit is contained in:
parent
752580496b
commit
8f3f46c740
1 changed files with 18 additions and 12 deletions
|
@ -865,6 +865,8 @@ void Workspace::performWindowOperation( Client* c, Options::WindowOperation op )
|
|||
c->clientGroup()->remove( c );
|
||||
break;
|
||||
case Options::MoveClientInGroupLeftOp:
|
||||
{
|
||||
if( clientGroup() )
|
||||
{
|
||||
int c_id = c->clientGroup()->indexOfClient( c );
|
||||
int size = c->clientGroup()->clients().count();
|
||||
|
@ -872,9 +874,12 @@ void Workspace::performWindowOperation( Client* c, Options::WindowOperation op )
|
|||
c->clientGroup()->setVisible( c_id - 1 );
|
||||
else
|
||||
c->clientGroup()->setVisible( size - 1 );
|
||||
}
|
||||
break;
|
||||
}
|
||||
case Options::MoveClientInGroupRightOp:
|
||||
{
|
||||
if( clientGroup() )
|
||||
{
|
||||
int c_id = c->clientGroup()->indexOfClient( c );
|
||||
int size = c->clientGroup()->clients().count();
|
||||
|
@ -882,6 +887,7 @@ void Workspace::performWindowOperation( Client* c, Options::WindowOperation op )
|
|||
c->clientGroup()->setVisible( c_id + 1 );
|
||||
else
|
||||
c->clientGroup()->setVisible( 0 );
|
||||
}
|
||||
break;
|
||||
}
|
||||
case Options::CloseClientGroupOp:
|
||||
|
|
Loading…
Reference in a new issue