Drop no longer needed dynamic_cast in Workspace::performWindowOperation

This commit is contained in:
Martin Gräßlin 2015-03-12 13:55:32 +01:00
parent 7a74413712
commit 1e7a28033b

View file

@ -1116,7 +1116,7 @@ void Workspace::performWindowOperation(AbstractClient* c, Options::WindowOperati
break;
case Options::RemoveTabFromGroupOp:
if (c->untab(c->geometry().translated(cascadeOffset(c))) && options->focusPolicyIsReasonable())
takeActivity(dynamic_cast<Client*>(c), ActivityFocus | ActivityRaise);
takeActivity(c, ActivityFocus | ActivityRaise);
break;
case Options::ActivateNextTabOp:
if (c->tabGroup())