summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2005-06-10 14:10:29 +0000
committerDaniel Stone <daniel@fooishbar.org>2005-06-10 14:10:29 +0000
commit48a3a08206e827a5af88d6a2d8ac62aa3bbbe122 (patch)
tree7a32d391b7a3f0ce3e933ed6de90192aa18f8cf1
parent1279a7f95e654bb33c9057e25a291e2a093f2dee (diff)
Bug #1976: Fix deadlock when attempting to initialise with threads.XORG-6_8_99_900XORG-6_8_99_16XORG-6_8_99_15XORG-6_8_99_14XORG-6_8_99_13XORG-6_8_99_12XORG-6_8_99_11
-rw-r--r--src/Xrandr.c1
1 files changed, 1 insertions, 0 deletions
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);