Changeset View
Changeset View
Standalone View
Standalone View
toplevel.cpp
Show First 20 Lines • Show All 292 Lines • ▼ Show 20 Line(s) | 278 | { | |||
---|---|---|---|---|---|
293 | repaints_region = QRegion(); | 293 | repaints_region = QRegion(); | ||
294 | effect_window = nullptr; | 294 | effect_window = nullptr; | ||
295 | } | 295 | } | ||
296 | 296 | | |||
297 | void Toplevel::discardWindowPixmap() | 297 | void Toplevel::discardWindowPixmap() | ||
298 | { | 298 | { | ||
299 | addDamageFull(); | 299 | addDamageFull(); | ||
300 | if (effectWindow() != nullptr && effectWindow()->sceneWindow() != nullptr) | 300 | if (effectWindow() != nullptr && effectWindow()->sceneWindow() != nullptr) | ||
301 | effectWindow()->sceneWindow()->pixmapDiscarded(); | 301 | effectWindow()->sceneWindow()->discardPixmap(); | ||
302 | } | 302 | } | ||
303 | 303 | | |||
304 | void Toplevel::damageNotifyEvent() | 304 | void Toplevel::damageNotifyEvent() | ||
305 | { | 305 | { | ||
306 | m_isDamaged = true; | 306 | m_isDamaged = true; | ||
307 | 307 | | |||
308 | // Note: The rect is supposed to specify the damage extents, | 308 | // Note: The rect is supposed to specify the damage extents, | ||
309 | // but we don't know it at this point. No one who connects | 309 | // but we don't know it at this point. No one who connects | ||
▲ Show 20 Lines • Show All 501 Lines • Show Last 20 Lines |