updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / xorg-server-1.7-catalyst-maximize-fix / fedora_dont_backfill_bg_none.patch
blob72f0ff5a5b6886152bb066b0f25b175750ce3332
1 Disable backfilling of windows created with bg=none, which otherwise
2 would force a framebuffer readback.
4 Index: xorg-server-1.2.0/composite/compalloc.c
5 ===================================================================
6 --- xorg-server-1.4.2/composite/compalloc.c.orig 2007-09-18 18:16:24.000000000 -0700
7 +++ xorg-server-1.4.2/composite/compalloc.c 2007-09-18 18:16:48.000000000 -0700
8 @@ -471,6 +471,7 @@ compNewPixmap (WindowPtr pWin, int x, in
9 pPixmap->screen_x = x;
10 pPixmap->screen_y = y;
12 +#if 0
13 if (pParent->drawable.depth == pWin->drawable.depth)
15 GCPtr pGC = GetScratchGC (pWin->drawable.depth, pScreen);
16 @@ -529,6 +530,7 @@ compNewPixmap (WindowPtr pWin, int x, in
17 if (pDstPicture)
18 FreePicture (pDstPicture, 0);
20 +#endif
21 return pPixmap;