Changeset View
Changeset View
Standalone View
Standalone View
effects/desktopgrid/desktopgrid.cpp
Show First 20 Lines • Show All 1373 Lines • ▼ Show 20 Line(s) | |||||
1374 | 1374 | | |||
1375 | bool DesktopGridEffect::isActive() const | 1375 | bool DesktopGridEffect::isActive() const | ||
1376 | { | 1376 | { | ||
1377 | return (timeline.currentValue() != 0 || activated || (isUsingPresentWindows() && isMotionManagerMovingWindows())) && !effects->isScreenLocked(); | 1377 | return (timeline.currentValue() != 0 || activated || (isUsingPresentWindows() && isMotionManagerMovingWindows())) && !effects->isScreenLocked(); | ||
1378 | } | 1378 | } | ||
1379 | 1379 | | |||
1380 | bool DesktopGridEffect::isRelevantWithPresentWindows(EffectWindow *w) const | 1380 | bool DesktopGridEffect::isRelevantWithPresentWindows(EffectWindow *w) const | ||
1381 | { | 1381 | { | ||
1382 | return !(w->isDesktop() || w->isDock() || w->isSkipSwitcher()) && | 1382 | return !(w->isDesktop() || w->isDock() || w->isSkipSwitcher() || w->isOnScreenDisplay()) && | ||
1383 | w->isCurrentTab() && w->isOnCurrentActivity(); | 1383 | w->isCurrentTab() && w->isOnCurrentActivity(); | ||
1384 | } | 1384 | } | ||
1385 | 1385 | | |||
1386 | /************************************************ | 1386 | /************************************************ | ||
1387 | * DesktopButtonView | 1387 | * DesktopButtonView | ||
1388 | ************************************************/ | 1388 | ************************************************/ | ||
1389 | DesktopButtonsView::DesktopButtonsView(QWindow *parent) | 1389 | DesktopButtonsView::DesktopButtonsView(QWindow *parent) | ||
1390 | : QQuickView(parent) | 1390 | : QQuickView(parent) | ||
▲ Show 20 Lines • Show All 68 Lines • Show Last 20 Lines |