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 /src/XlibInt.c | |
parent | c3f3e4a9e531d010312c97e753d6e543e607094d (diff) | |
download | xorg-lib-libX11-75ea8c37935ccc911557d16a303ba595b8ab106b.tar.gz |
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>
Diffstat (limited to 'src/XlibInt.c')
-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 @@ -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; |