Cast to AbstractClient instead of Client in Toplevel::setReadyForPainting
Summary: TabGroup is nowadays in AbstractClient so the cast to Client is incorrect. Reviewers: #kwin Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D17898
This commit is contained in:
parent
2799f69533
commit
b1d753d7a6
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ void Toplevel::setReadyForPainting()
|
|||
if (compositing()) {
|
||||
addRepaintFull();
|
||||
emit windowShown(this);
|
||||
if (Client *cl = dynamic_cast<Client*>(this)) {
|
||||
if (auto *cl = dynamic_cast<AbstractClient*>(this)) {
|
||||
if (cl->tabGroup() && cl->tabGroup()->current() == cl)
|
||||
cl->tabGroup()->setCurrent(cl, true);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue