[cairo-compmgr] correction to how the backing store pixmap is used

[ Thread Index | Date Index | More lists.tuxfamily.org/cairo-compmgr Archives ]


Hi,

After running cairo-compmgr I understand that windows modifications
wasn't being tracked properly, so with this small modification the
problem was corrected.

Best regards,
Carlos.
diff --git a/src/Makefile.am b/src/Makefile.am
diff --git a/src/ccm-config.c b/src/ccm-config.c
diff --git a/src/ccm-pixmap-backend.c b/src/ccm-pixmap-backend.c
diff --git a/src/ccm-pixmap-glitz.c b/src/ccm-pixmap-glitz.c
diff --git a/src/ccm-window-glitz.c b/src/ccm-window-glitz.c
diff --git a/src/ccm-window.c b/src/ccm-window.c
index 404db55..1f878e2 100644
--- a/src/ccm-window.c
+++ b/src/ccm-window.c
@@ -968,9 +968,7 @@ ccm_window_get_pixmap(CCMWindow* self)
 		CCMDisplay *display = ccm_drawable_get_display(CCM_DRAWABLE(self));
 		
 		ccm_display_grab(display);
-		Pixmap xpixmap = XCompositeNameWindowPixmap(
-												CCM_DISPLAY_XDISPLAY(display),
-						 						CCM_WINDOW_XWINDOW(self));
+		Pixmap xpixmap = CCM_WINDOW_XWINDOW (self);
 		ccm_display_ungrab(display);
 		if (xpixmap)
 		{


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/