summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-12-17 23:11:29 -0500
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-12-17 23:12:01 -0500
commit97c82ce0510808ea9d8a37a0a121e750f6dd8158 (patch)
tree17b6027fdea39476cd29978c708b1f9465ef12a3 /dix
parent6a5c3e04fa43b98ccffd69ad86dd781602f88d0b (diff)
XACE: Restore the old background None behavior in response to bug #13683.
From the X11 protocol spec: "If background None is specified, the window has no defined background." This means that toolkits and apps cannot rely on the "transparent" nature of the current implementation! At some point before the next release, XACE will switch back to a solid background as the default.
Diffstat (limited to 'dix')
-rw-r--r--dix/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dix/window.c b/dix/window.c
index 0404655d4..33cf76b59 100644
--- a/dix/window.c
+++ b/dix/window.c
@@ -704,7 +704,7 @@ CreateWindow(Window wid, WindowPtr pParent, int x, int y, unsigned w,
return NullWindow;
}
- pWin->backgroundState = BackgroundPixel;
+ pWin->backgroundState = XaceBackgroundNoneState;
pWin->background.pixel = 0;
pWin->borderIsPixel = pParent->borderIsPixel;
@@ -1016,7 +1016,7 @@ ChangeWindowAttributes(WindowPtr pWin, Mask vmask, XID *vlist, ClientPtr client)
if (!pWin->parent)
MakeRootTile(pWin);
else {
- pWin->backgroundState = BackgroundPixel;
+ pWin->backgroundState = XaceBackgroundNoneState;
pWin->background.pixel = 0;
}
}