[PATCH 06/14] composite: Automatically enable backing store support on the screen

Julien Cristau jcristau at debian.org
Mon Dec 2 12:12:47 PST 2013


On Thu, Nov 21, 2013 at 17:43:19 -0500, Adam Jackson wrote:

> ... unless you explicitly disabled it with -bs on the command line, or
> with the corresponding thing in xorg.conf.
> 
> v2: Drop a bogus hunk from compChangeWindowAttributes [vsyrjala]
> 
> Signed-off-by: Adam Jackson <ajax at redhat.com>
> ---
>  composite/compinit.c           | 3 +++
>  hw/xfree86/common/xf86Helper.c | 5 +++++
>  2 files changed, 8 insertions(+)
> 
> diff --git a/composite/compinit.c b/composite/compinit.c
> index bc1130e..6283136 100644
> --- a/composite/compinit.c
> +++ b/composite/compinit.c
> @@ -355,6 +355,9 @@ compScreenInit(ScreenPtr pScreen)
>          return FALSE;
>      }
>  
> +    if (!disableBackingStore)
> +        pScreen->backingStoreSupport = TRUE;
> +

should that be WhenMapped?  (they're both 1, but still)

>      cs->PositionWindow = pScreen->PositionWindow;
>      pScreen->PositionWindow = compPositionWindow;
>  

Cheers,
Julien


More information about the xorg-devel mailing list