diff --git a/toplevel.cpp b/toplevel.cpp --- a/toplevel.cpp +++ b/toplevel.cpp @@ -262,7 +262,7 @@ if (compositing()) { addRepaintFull(); emit windowShown(this); - if (Client *cl = dynamic_cast(this)) { + if (auto *cl = dynamic_cast(this)) { if (cl->tabGroup() && cl->tabGroup()->current() == cl) cl->tabGroup()->setCurrent(cl, true); }