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