diff options
author | Jamey Sharp <jamey@minilop.net> | 2010-04-12 11:30:20 -0700 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2010-04-12 11:30:20 -0700 |
commit | 75ea8c37935ccc911557d16a303ba595b8ab106b (patch) | |
tree | fc531f62509fcf78fa9d7c7364bbf2ad9e824cac | |
parent | c3f3e4a9e531d010312c97e753d6e543e607094d (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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/XlibInt.c b/src/XlibInt.c index fb6e7152..3555dd15 100644 --- a/src/XlibInt.c +++ b/src/XlibInt.c @@ -592,12 +592,14 @@ _XPrivSyncFunction (Display *dpy) { assert(dpy->synchandler == _XPrivSyncFunction); assert((dpy->flags & XlibDisplayPrivSync) != 0); dpy->synchandler = dpy->savedsynchandler; dpy->savedsynchandler = NULL; dpy->flags &= ~XlibDisplayPrivSync; + if(dpy->synchandler) + dpy->synchandler(dpy); _XIDHandler(dpy); _XSeqSyncFunction(dpy); return 0; } void _XSetPrivSyncFunction(Display *dpy) |