summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Xdamage.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Xdamage.c b/src/Xdamage.c
index 181a49f..ba61371 100644
--- a/src/Xdamage.c
+++ b/src/Xdamage.c
@@ -305,8 +305,6 @@ XDamageQueryVersion (Display *dpy,
*major_versionp = info->major_version;
*minor_versionp = info->minor_version;
- UnlockDisplay (dpy);
- SyncHandle ();
return 1;
}