summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/libXcomposite/files/drop-extra-unlockdisplay.patch')
-rw-r--r--x11-libs/libXcomposite/files/drop-extra-unlockdisplay.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/x11-libs/libXcomposite/files/drop-extra-unlockdisplay.patch b/x11-libs/libXcomposite/files/drop-extra-unlockdisplay.patch
new file mode 100644
index 000000000000..73345b129dfb
--- /dev/null
+++ b/x11-libs/libXcomposite/files/drop-extra-unlockdisplay.patch
@@ -0,0 +1,10 @@
+--- src/Xcomposite.c
++++ src/Xcomposite.c
+@@ -235,8 +235,6 @@ XCompositeQueryVersion (Display *dpy,
+ XCompositeCheckExtension (dpy, info, 0);
+ *major_versionp = info->major_version;
+ *minor_versionp = info->minor_version;
+- UnlockDisplay (dpy);
+- SyncHandle ();
+ return 1;
+ }