From 082c0f7fb34458ebb303cf875d1d75686eca25e6 Mon Sep 17 00:00:00 2001 From: Eamon Walsh Date: Wed, 19 Sep 2007 13:59:35 -0400 Subject: devPrivates rework: move devPrivates field in drawable structure types to just below the DrawableRec. Wish there were a better way to do this but it has to be in the same place for all drawable types. --- render/picture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render') diff --git a/render/picture.c b/render/picture.c index 660ef12ad..184edb48b 100644 --- a/render/picture.c +++ b/render/picture.c @@ -728,7 +728,7 @@ CreatePicture (Picture pid, /* security creation/labeling check */ *error = XaceHook(XACE_RESOURCE_ACCESS, client, pid, PictureType, pPicture, - RC_DRAWABLE, pDrawable, DixCreateAccess|DixSetAttrAccess); + RT_PIXMAP, pDrawable, DixCreateAccess|DixSetAttrAccess); if (*error != Success) goto out; -- cgit v1.2.3