mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Don't enable XAA offscreen pixmaps with Option "XaaOffscreenPixmaps" "no".
xf86IsOptionSet is rarely the right function to use for boolean options because it returns TRUE whenever the option is present, even if its value is "no", "off", "0", etc.
This commit is contained in:
@@ -528,7 +528,9 @@ XAAInitAccel(ScreenPtr pScreen, XAAInfoRecPtr infoRec)
|
||||
#define XAAMSG(s) do { if (serverGeneration == 1) xf86ErrorF(s); } while (0)
|
||||
|
||||
if((infoRec->Flags & OFFSCREEN_PIXMAPS) && HaveScreenToScreenCopy &&
|
||||
xf86IsOptionSet(options, XAAOPT_HAS_DUMB_INVERTED_OPTION_SENSE))
|
||||
xf86ReturnOptValBool(options,
|
||||
XAAOPT_HAS_DUMB_INVERTED_OPTION_SENSE,
|
||||
FALSE))
|
||||
{
|
||||
XAAMSG("\tOffscreen Pixmaps\n");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user