mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-28 19:20:44 +02: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:
parent
5623c27700
commit
01879e583b
1 changed files with 3 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue