summaryrefslogtreecommitdiff
path: root/include/resource.h
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-08-14 11:39:26 -0400
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-08-14 11:39:26 -0400
commit9a183d7ba50e31afa133cc03aee7991517a283ea (patch)
treea77da3210253f96d5d0be97a8a321920648ca81f /include/resource.h
parent2763056ab5ae31bed422a0948198d98c6ace6d55 (diff)
dix: remove caching of drawables and graphics contexts. The security checks
simply bypass the cached values so they are unused.
Diffstat (limited to 'include/resource.h')
-rw-r--r--include/resource.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/resource.h b/include/resource.h
index d2ecfdea7..087d62c09 100644
--- a/include/resource.h
+++ b/include/resource.h
@@ -72,9 +72,9 @@ typedef unsigned long RESTYPE;
/* types for Resource routines */
-#define RT_WINDOW ((RESTYPE)1|RC_CACHED|RC_DRAWABLE)
-#define RT_PIXMAP ((RESTYPE)2|RC_CACHED|RC_DRAWABLE)
-#define RT_GC ((RESTYPE)3|RC_CACHED)
+#define RT_WINDOW ((RESTYPE)1|RC_DRAWABLE)
+#define RT_PIXMAP ((RESTYPE)2|RC_DRAWABLE)
+#define RT_GC ((RESTYPE)3)
#undef RT_FONT
#undef RT_CURSOR
#define RT_FONT ((RESTYPE)4)