[Bug 2230] New: XComposite: unmoved bits on screen are not copied to pixmap during resizing

bugzilla-daemon@freedesktop.org bugzilla-daemon@freedesktop.org
Wed Jan 5 13:57:45 PST 2005


Please do not reply to this email: if you want to comment on the bug, go to          
the URL shown below and enter yourcomments there.   
 
https://bugs.freedesktop.org/show_bug.cgi?id=2230        
   
           Summary: XComposite: unmoved bits on screen are not copied to
                    pixmap during resizing
           Product: xorg
           Version: 6.8.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Server/general
        AssignedTo: xorg-bugzilla-noise@freedesktop.org
        ReportedBy: amir.bukhari@gmail.com


normal DDX:miSlideAndSizeWindow copy gravity bits from to new position but the
unmoved bits are not copied. when composite are enable and the window is
redirected these bits are not copied also, what lied to garbage content.
possible solution to copy these bits always when window is redirected with
Composite.
we get this when running Composite with looking glass 3D LG3D.

the following bugfix are made in compare to XORG-6_8_1 branch.
bug fix:

ndex: miwindow.c
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/mi/miwindow.c,v
retrieving revision 1.2
diff -u -r1.2 miwindow.c
--- miwindow.c	23 Apr 2004 19:54:26 -0000	1.2
+++ miwindow.c	5 Jan 2005 21:40:46 -0000
@@ -883,7 +883,11 @@
 
 	    /* and move those bits */
 
-	    if (oldpt.x != x || oldpt.y != y)
+	    if (oldpt.x != x || oldpt.y != y
+#ifdef COMPOSITE
+            || pWin->redirectDraw
+#endif
+           )
 		(*pWin->drawable.pScreen->CopyWindow)(pWin, oldpt, gravitate[g]);
 
 	    /* remove any overwritten bits from the remaining useful bits */        
   
   
--         
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email       
   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list