Changeset View
Changeset View
Standalone View
Standalone View
scene.cpp
Show First 20 Lines • Show All 813 Lines • ▼ Show 20 Line(s) | 813 | } else { | |||
---|---|---|---|---|---|
814 | if (!toplevel->isOnCurrentDesktop()) | 814 | if (!toplevel->isOnCurrentDesktop()) | ||
815 | disable_painting |= PAINT_DISABLED_BY_DESKTOP; | 815 | disable_painting |= PAINT_DISABLED_BY_DESKTOP; | ||
816 | } | 816 | } | ||
817 | if (!toplevel->isOnCurrentActivity()) | 817 | if (!toplevel->isOnCurrentActivity()) | ||
818 | disable_painting |= PAINT_DISABLED_BY_ACTIVITY; | 818 | disable_painting |= PAINT_DISABLED_BY_ACTIVITY; | ||
819 | if (AbstractClient *c = dynamic_cast<AbstractClient*>(toplevel)) { | 819 | if (AbstractClient *c = dynamic_cast<AbstractClient*>(toplevel)) { | ||
820 | if (c->isMinimized()) | 820 | if (c->isMinimized()) | ||
821 | disable_painting |= PAINT_DISABLED_BY_MINIMIZE; | 821 | disable_painting |= PAINT_DISABLED_BY_MINIMIZE; | ||
822 | if (c->tabGroup() && c != c->tabGroup()->current()) | | |||
823 | disable_painting |= PAINT_DISABLED_BY_TAB_GROUP; | | |||
824 | if (c->isHiddenInternal()) { | 822 | if (c->isHiddenInternal()) { | ||
825 | disable_painting |= PAINT_DISABLED; | 823 | disable_painting |= PAINT_DISABLED; | ||
826 | } | 824 | } | ||
827 | } | 825 | } | ||
828 | } | 826 | } | ||
829 | 827 | | |||
830 | void Scene::Window::enablePainting(int reason) | 828 | void Scene::Window::enablePainting(int reason) | ||
831 | { | 829 | { | ||
▲ Show 20 Lines • Show All 326 Lines • Show Last 20 Lines |