xorg-x11-server/xorg-x11-server-1.1.0-dont-backfill-bg-none.patch
Kristian Høgsberg d470a6c3be * Wed Jul 12 2006 Kristian Høgsberg <krh@redhat.com> - 1.1.1-5.fc5.aiglx
- Split spiffiffity patch into one patch per change:
  xorg-x11-server-1.1.0-no-move-damage.patch and
  xorg-x11-server-1.1.0-dont-backfill-bg-none.patch.
2006-07-12 23:29:00 +00:00

22 lines
581 B
Diff

Disable backfilling of windows created with bg=none, which otherwise
would force a framebuffer readback.
--- ./composite/compalloc.c.spiffiffity 2006-03-13 16:59:55.000000000 -0500
+++ ./composite/compalloc.c 2006-04-12 16:37:50.000000000 -0400
@@ -478,6 +478,7 @@
* Copy bits from the parent into the new pixmap so that it will
* have "reasonable" contents in case for background None areas.
*/
+#if 0
if (pGC)
{
XID val = IncludeInferiors;
@@ -492,6 +493,7 @@
w, h, 0, 0);
FreeScratchGC (pGC);
}
+#endif
return pPixmap;
}