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:
parent
3c5caaf0a9
commit
ccd605c492
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue