diff --git a/useractions.cpp b/useractions.cpp index e911e3d933..d23df970ae 100644 --- a/useractions.cpp +++ b/useractions.cpp @@ -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(c), ActivityFocus | ActivityRaise); + takeActivity(c, ActivityFocus | ActivityRaise); break; case Options::ActivateNextTabOp: if (c->tabGroup())