diff options
-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; |