Changeset View
Changeset View
Standalone View
Standalone View
effects/desktopgrid/desktopgrid.cpp
Show First 20 Lines • Show All 175 Lines • ▼ Show 20 Line(s) | 152 | { | |||
---|---|---|---|---|---|
176 | 176 | | |||
177 | for (auto const &w : effects->stackingOrder()) { | 177 | for (auto const &w : effects->stackingOrder()) { | ||
178 | w->setData(WindowForceBlurRole, QVariant(true)); | 178 | w->setData(WindowForceBlurRole, QVariant(true)); | ||
179 | } | 179 | } | ||
180 | 180 | | |||
181 | effects->prePaintScreen(data, time); | 181 | effects->prePaintScreen(data, time); | ||
182 | } | 182 | } | ||
183 | 183 | | |||
184 | void DesktopGridEffect::paintScreen(int mask, QRegion region, ScreenPaintData& data) | 184 | void DesktopGridEffect::paintScreen(int mask, const QRegion ®ion, ScreenPaintData& data) | ||
185 | { | 185 | { | ||
186 | if (timeline.currentValue() == 0 && !isUsingPresentWindows()) { | 186 | if (timeline.currentValue() == 0 && !isUsingPresentWindows()) { | ||
187 | effects->paintScreen(mask, region, data); | 187 | effects->paintScreen(mask, region, data); | ||
188 | return; | 188 | return; | ||
189 | } | 189 | } | ||
190 | for (int desktop = 1; desktop <= effects->numberOfDesktops(); desktop++) { | 190 | for (int desktop = 1; desktop <= effects->numberOfDesktops(); desktop++) { | ||
191 | ScreenPaintData d = data; | 191 | ScreenPaintData d = data; | ||
192 | paintingDesktop = desktop; | 192 | paintingDesktop = desktop; | ||
▲ Show 20 Lines • Show All 1326 Lines • Show Last 20 Lines |