dix: remove caching of drawables and graphics contexts. The security checks

simply bypass the cached values so they are unused.
This commit is contained in:
Eamon Walsh
2007-08-14 11:39:26 -04:00
committed by Eamon Walsh
parent 2763056ab5
commit 9a183d7ba5
9 changed files with 10 additions and 103 deletions

View File

@@ -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)