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