summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2010-04-12 18:30:20 (GMT)
committerJamey Sharp <jamey@minilop.net>2010-04-12 18:30:20 (GMT)
commit75ea8c37935ccc911557d16a303ba595b8ab106b (patch)
treefc531f62509fcf78fa9d7c7364bbf2ad9e824cac
parentc3f3e4a9e531d010312c97e753d6e543e607094d (diff)
Run the user's synchandler as well as any internal synchandlers.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=27595 Signed-off-by: Jamey Sharp <jamey@minilop.net>
-rw-r--r--src/XlibInt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/XlibInt.c b/src/XlibInt.c
index fb6e715..3555dd1 100644
--- a/src/XlibInt.c
+++ b/src/XlibInt.c
@@ -595,6 +595,8 @@ _XPrivSyncFunction (Display *dpy)
dpy->synchandler = dpy->savedsynchandler;
dpy->savedsynchandler = NULL;
dpy->flags &= ~XlibDisplayPrivSync;
+ if(dpy->synchandler)
+ dpy->synchandler(dpy);
_XIDHandler(dpy);
_XSeqSyncFunction(dpy);
return 0;