summaryrefslogtreecommitdiff
path: root/Xext/xace.h
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 /Xext/xace.h
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 'Xext/xace.h')
-rw-r--r--Xext/xace.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Xext/xace.h b/Xext/xace.h
index de0e8fe81..6f92290a0 100644
--- a/Xext/xace.h
+++ b/Xext/xace.h
@@ -32,6 +32,9 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define XaceNumberEvents 0
#define XaceNumberErrors 0
+/* Default window background */
+#define XaceBackgroundNoneState None
+
/* security hooks */
/* Constants used to identify the available security hooks
*/
@@ -94,6 +97,9 @@ extern void XaceCensorImage(
#else /* XACE */
+/* Default window background */
+#define XaceBackgroundNoneState None
+
/* Define calls away when XACE is not being built. */
#ifdef __GNUC__