From a2b2c271e0ca87d3188ba2741b6db9bbbdc599f5 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 5 Nov 2013 10:08:17 -0500 Subject: composite: Automatically enable backing store support on the screen ... 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] v3: s/TRUE/WhenMapped/ [jcristau] Reviewed-by: Keith Packard Signed-off-by: Adam Jackson --- composite/compinit.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'composite') diff --git a/composite/compinit.c b/composite/compinit.c index bc1130e78..64314640f 100644 --- a/composite/compinit.c +++ b/composite/compinit.c @@ -355,6 +355,9 @@ compScreenInit(ScreenPtr pScreen) return FALSE; } + if (!disableBackingStore) + pScreen->backingStoreSupport = WhenMapped; + cs->PositionWindow = pScreen->PositionWindow; pScreen->PositionWindow = compPositionWindow; -- cgit v1.2.3