Changeset View
Changeset View
Standalone View
Standalone View
effects/flipswitch/flipswitch.cpp
Show First 20 Lines • Show All 364 Lines • ▼ Show 20 Line(s) | 364 | { | |||
---|---|---|---|---|---|
365 | if (m_active) { | 365 | if (m_active) { | ||
366 | if (m_windows.contains(w)) { | 366 | if (m_windows.contains(w)) { | ||
367 | data.setTransformed(); | 367 | data.setTransformed(); | ||
368 | data.setTranslucent(); | 368 | data.setTranslucent(); | ||
369 | if (!w->isOnCurrentDesktop()) | 369 | if (!w->isOnCurrentDesktop()) | ||
370 | w->enablePainting(EffectWindow::PAINT_DISABLED_BY_DESKTOP); | 370 | w->enablePainting(EffectWindow::PAINT_DISABLED_BY_DESKTOP); | ||
371 | if (w->isMinimized()) | 371 | if (w->isMinimized()) | ||
372 | w->enablePainting(EffectWindow::PAINT_DISABLED_BY_MINIMIZE); | 372 | w->enablePainting(EffectWindow::PAINT_DISABLED_BY_MINIMIZE); | ||
373 | if (!w->isCurrentTab()) | | |||
374 | w->enablePainting(EffectWindow::PAINT_DISABLED_BY_TAB_GROUP); | | |||
375 | } else { | 373 | } else { | ||
376 | if ((m_start || m_stop) && !w->isDesktop() && w->isOnCurrentDesktop()) | 374 | if ((m_start || m_stop) && !w->isDesktop() && w->isOnCurrentDesktop()) | ||
377 | data.setTranslucent(); | 375 | data.setTranslucent(); | ||
378 | else if (!w->isDesktop()) | 376 | else if (!w->isDesktop()) | ||
379 | w->disablePainting(EffectWindow::PAINT_DISABLED_BY_DESKTOP); | 377 | w->disablePainting(EffectWindow::PAINT_DISABLED_BY_DESKTOP); | ||
380 | } | 378 | } | ||
381 | } | 379 | } | ||
382 | effects->prePaintWindow(w, data, time); | 380 | effects->prePaintWindow(w, data, time); | ||
▲ Show 20 Lines • Show All 610 Lines • Show Last 20 Lines |