intel-virtual-output: Unregister our singleton on a clean shutdown

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2013-09-06 00:33:29 +01:00
parent 3c5caaf0a9
commit ccd605c492
1 changed files with 2 additions and 0 deletions

View File

@ -2386,6 +2386,8 @@ static void context_cleanup(struct context *ctx)
XRRFreeScreenResources(res);
if (ctx->singleton)
XDeleteProperty(dpy, ctx->display->root, ctx->singleton);
XCloseDisplay(dpy);
}