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