diff options
-rw-r--r-- | xc/programs/Xserver/GL/dri/dri.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xc/programs/Xserver/GL/dri/dri.c b/xc/programs/Xserver/GL/dri/dri.c index 333e02d89..3bb5b5d64 100644 --- a/xc/programs/Xserver/GL/dri/dri.c +++ b/xc/programs/Xserver/GL/dri/dri.c @@ -483,7 +483,8 @@ DRICloseScreen(ScreenPtr pScreen) reserved_count, reserved_count > 1 ? "s" : ""); } - DRIUnlock(pScreen); + /* Make sure signals get unblocked etc. */ + drmUnlock(pDRIPriv->drmFD, pDRIPriv->myContext); lockRefCount=0; DRIDrvMsg(pScreen->myNum, X_INFO, "[drm] unmapping %d bytes of SAREA 0x%08lx at %p\n", |