From 48a3a08206e827a5af88d6a2d8ac62aa3bbbe122 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Fri, 10 Jun 2005 14:10:29 +0000 Subject: Bug #1976: Fix deadlock when attempting to initialise with threads. --- src/Xrandr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Xrandr.c b/src/Xrandr.c index 1cc8518..2776462 100644 --- a/src/Xrandr.c +++ b/src/Xrandr.c @@ -578,6 +578,7 @@ static XRRScreenConfiguration *_XRRGetScreenInfo (Display *dpy, Window window) XRRScreenConfiguration *XRRGetScreenInfo (Display *dpy, Window window) { XRRScreenConfiguration *config; + XRRFindDisplay(dpy); LockDisplay (dpy); config = _XRRGetScreenInfo(dpy, window); UnlockDisplay (dpy); -- cgit v1.2.3