summaryrefslogtreecommitdiff
path: root/src/Xdamage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Xdamage.c')
-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