Changeset View
Changeset View
Standalone View
Standalone View
effects/screenshot/screenshot.cpp
Show First 20 Lines • Show All 150 Lines • ▼ Show 20 Line(s) | 122 | { | |||
---|---|---|---|---|---|
151 | } | 151 | } | ||
152 | 152 | | |||
153 | xcb_flush(c); | 153 | xcb_flush(c); | ||
154 | xcb_free_gc(c, gc); | 154 | xcb_free_gc(c, gc); | ||
155 | 155 | | |||
156 | return pixmap; | 156 | return pixmap; | ||
157 | } | 157 | } | ||
158 | 158 | | |||
159 | void ScreenShotEffect::paintScreen(int mask, QRegion region, ScreenPaintData &data) | 159 | void ScreenShotEffect::paintScreen(int mask, const QRegion ®ion, ScreenPaintData &data) | ||
160 | { | 160 | { | ||
161 | m_cachedOutputGeometry = data.outputGeometry(); | 161 | m_cachedOutputGeometry = data.outputGeometry(); | ||
162 | effects->paintScreen(mask, region, data); | 162 | effects->paintScreen(mask, region, data); | ||
163 | } | 163 | } | ||
164 | 164 | | |||
165 | void ScreenShotEffect::postPaintScreen() | 165 | void ScreenShotEffect::postPaintScreen() | ||
166 | { | 166 | { | ||
167 | effects->postPaintScreen(); | 167 | effects->postPaintScreen(); | ||
▲ Show 20 Lines • Show All 545 Lines • Show Last 20 Lines |