diff options
Diffstat (limited to 'util/fbcompose/plugins/xrender/preview/PreviewPlugin.cc')
-rw-r--r-- | util/fbcompose/plugins/xrender/preview/PreviewPlugin.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/fbcompose/plugins/xrender/preview/PreviewPlugin.cc b/util/fbcompose/plugins/xrender/preview/PreviewPlugin.cc index 14a0e61..fdc4d29 100644 --- a/util/fbcompose/plugins/xrender/preview/PreviewPlugin.cc +++ b/util/fbcompose/plugins/xrender/preview/PreviewPlugin.cc | |||
@@ -59,7 +59,7 @@ PreviewPlugin::PreviewPlugin(const BaseScreen &screen, const std::vector<FbTk::F | |||
59 | unsigned long mask_color = 0x01010101 * PREVIEW_ALPHA; | 59 | unsigned long mask_color = 0x01010101 * PREVIEW_ALPHA; |
60 | Pixmap mask_pixmap = createSolidPixmap(screen, MAX_PREVIEW_WIDTH, MAX_PREVIEW_HEIGHT, mask_color); | 60 | Pixmap mask_pixmap = createSolidPixmap(screen, MAX_PREVIEW_WIDTH, MAX_PREVIEW_HEIGHT, mask_color); |
61 | XRenderPictFormat *pict_format = XRenderFindStandardFormat(display(), PictStandardARGB32); | 61 | XRenderPictFormat *pict_format = XRenderFindStandardFormat(display(), PictStandardARGB32); |
62 | m_mask_picture = new XRenderPicture(xrenderScreen(), pict_format, FilterFast); | 62 | m_mask_picture.reset( new XRenderPicture(xrenderScreen(), pict_format, FilterFast)); |
63 | m_mask_picture->setPixmap(mask_pixmap, true); | 63 | m_mask_picture->setPixmap(mask_pixmap, true); |
64 | 64 | ||
65 | m_previous_damage.width = 0; | 65 | m_previous_damage.width = 0; |