Changeset View
Changeset View
Standalone View
Standalone View
toplevel.cpp
Show First 20 Lines • Show All 495 Lines • ▼ Show 20 Line(s) | |||||
496 | 496 | | |||
497 | void Toplevel::setReadyForPainting() | 497 | void Toplevel::setReadyForPainting() | ||
498 | { | 498 | { | ||
499 | if (!ready_for_painting) { | 499 | if (!ready_for_painting) { | ||
500 | ready_for_painting = true; | 500 | ready_for_painting = true; | ||
501 | if (compositing()) { | 501 | if (compositing()) { | ||
502 | addRepaintFull(); | 502 | addRepaintFull(); | ||
503 | emit windowShown(this); | 503 | emit windowShown(this); | ||
504 | if (auto *cl = dynamic_cast<AbstractClient*>(this)) { | | |||
505 | if (cl->tabGroup() && cl->tabGroup()->current() == cl) | | |||
506 | cl->tabGroup()->setCurrent(cl, true); | | |||
507 | } | | |||
508 | } | 504 | } | ||
509 | } | 505 | } | ||
510 | } | 506 | } | ||
511 | 507 | | |||
512 | void Toplevel::deleteEffectWindow() | 508 | void Toplevel::deleteEffectWindow() | ||
513 | { | 509 | { | ||
514 | delete effect_window; | 510 | delete effect_window; | ||
515 | effect_window = NULL; | 511 | effect_window = NULL; | ||
▲ Show 20 Lines • Show All 294 Lines • Show Last 20 Lines |