Option "BackingStore" is not honored
@aplattner
Submitted by Aaron Plattner Assigned to Adam Jackson @ajax
Description
Sufficiently recent X servers enable backing store when the Composite extension is enabled, and use Composite to implement WhenMapped support. This causes problems with SDL 1.2 games because they request backing storage whenever the server says it supports it:
http://hg.libsdl.org/SDL/file/22a7f096bb9d/src/video/x11/SDL_x11video.c#l1096
According to the code, you're supposed to be able to disable backing store by setting
Option "BackingStore" "off"
in the "Screen" section of xorg.conf. Indeed, xf86SetBackingStore implements this just fine. However, the Composite extension comes along later and overrides the backing store support based on the value of the global 'disableBackingStore' flag. This flag is set in ProcessCommandLine if the -bs flag is passed to the server, but not by xf86SetBackingStore.