summaryrefslogtreecommitdiff
path: root/Xext/xvdisp.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-12-11 00:58:25 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-12-18 16:51:45 -0800
commita11c58fa0c5809f918b36b84be53385cb2d8ea59 (patch)
treed5b4416102f59a6abe3a86026bd6b5febb2ca26a /Xext/xvdisp.c
parenteb750f8b5e14751d4c40b50499baec5d2ba79db9 (diff)
Ensure all resource types created have names registered
Calls RegisterResourceName to record the type name for use by X-Resource, XACE/SELinux/XTsol, and DTrace. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Xext/xvdisp.c')
-rw-r--r--Xext/xvdisp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Xext/xvdisp.c b/Xext/xvdisp.c
index 1f3fc0f3d..e674dfdca 100644
--- a/Xext/xvdisp.c
+++ b/Xext/xvdisp.c
@@ -36,6 +36,7 @@ SOFTWARE.
#include "gcstruct.h"
#include "dixstruct.h"
#include "resource.h"
+#include "registry.h"
#include "opaque.h"
#include <X11/extensions/Xv.h>
@@ -1867,6 +1868,8 @@ void XineramifyXv(void)
if (!xvsp0 || !XvXRTPort) return;
+ RegisterResourceName(XvXRTPort, "XvXRTPort");
+
for(i = 0; i < xvsp0->nAdaptors; i++) {
refAdapt = xvsp0->pAdaptors + i;