summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2010-04-09 17:26:07 -0700
committerJamey Sharp <jamey@minilop.net>2010-04-09 17:26:07 -0700
commit5a77a5e402ab245f2de08886e5fb2934a6c54571 (patch)
tree30a8f61d30696663e3e4c403b35f22ee1244a554
parenta414d85a9da3f5b23975a64c351ad00138092107 (diff)
Always call SyncHandle after issuing an X request.
-rw-r--r--src/Xdamage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Xdamage.c b/src/Xdamage.c
index 174bb09..e98bdf7 100644
--- a/src/Xdamage.c
+++ b/src/Xdamage.c
@@ -94,6 +94,7 @@ XDamageExtAddDisplay (XDamageExtInfo *extinfo,
info->major_version = rep.majorVersion;
info->minor_version = rep.minorVersion;
UnlockDisplay (dpy);
+ SyncHandle ();
} else {
/* The server doesn't have this extension.
* Use a private Xlib-internal extension to hang the close_display