diff options
author | Adam Jackson <ajax@redhat.com> | 2013-11-05 10:08:17 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2013-12-09 13:20:36 -0500 |
commit | a2b2c271e0ca87d3188ba2741b6db9bbbdc599f5 (patch) | |
tree | 21fdcec9f9ef68b16189c7fa67fa21b19f867f84 /composite/compinit.c | |
parent | e0cac005608a2e5618c7be59701318d684e0bb93 (diff) |
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 <keithp@keithp.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'composite/compinit.c')
-rw-r--r-- | composite/compinit.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |