svn path=/trunk/KDE/kdebase/workspace/; revision=1134085
This commit is contained in:
Nicolas Lécureuil 2010-06-03 11:30:41 +00:00
parent 8f3f46c740
commit fa2318b374

View file

@ -866,7 +866,7 @@ void Workspace::performWindowOperation( Client* c, Options::WindowOperation op )
break; break;
case Options::MoveClientInGroupLeftOp: case Options::MoveClientInGroupLeftOp:
{ {
if( clientGroup() ) if( c->clientGroup() )
{ {
int c_id = c->clientGroup()->indexOfClient( c ); int c_id = c->clientGroup()->indexOfClient( c );
int size = c->clientGroup()->clients().count(); int size = c->clientGroup()->clients().count();
@ -879,7 +879,7 @@ void Workspace::performWindowOperation( Client* c, Options::WindowOperation op )
} }
case Options::MoveClientInGroupRightOp: case Options::MoveClientInGroupRightOp:
{ {
if( clientGroup() ) if( c->clientGroup() )
{ {
int c_id = c->clientGroup()->indexOfClient( c ); int c_id = c->clientGroup()->indexOfClient( c );
int size = c->clientGroup()->clients().count(); int size = c->clientGroup()->clients().count();