diff options
Diffstat (limited to 'src/Xrandr.c')
-rw-r--r-- | src/Xrandr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Xrandr.c b/src/Xrandr.c index 32537b4..7f256a7 100644 --- a/src/Xrandr.c +++ b/src/Xrandr.c @@ -390,11 +390,11 @@ Status XRRQueryVersion (Display *dpy, xrri->major_version = rep.majorVersion; xrri->minor_version = rep.minorVersion; xrri->has_rates = _XRRHasRates (xrri->major_version, xrri->minor_version); + UnlockDisplay (dpy); + SyncHandle (); } *major_versionp = xrri->major_version; *minor_versionp = xrri->minor_version; - UnlockDisplay (dpy); - SyncHandle (); return 1; } |