aboutsummaryrefslogtreecommitdiffstats
path: root/src/xselect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xselect.c')
-rw-r--r--src/xselect.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xselect.c b/src/xselect.c
index 5de1beb9ac4..80ed34c69e2 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -744,9 +744,11 @@ x_reply_selection_request (event, format, data, size, type)
744 refering to the deleted window, and we'll get a BadWindow error 744 refering to the deleted window, and we'll get a BadWindow error
745 in XTread_socket when processing the events. I don't have 745 in XTread_socket when processing the events. I don't have
746 an idea how to fix that. gerd, 2001-01-98. */ 746 an idea how to fix that. gerd, 2001-01-98. */
747 XFlush (display); 747 /* 2004-09-10: XSync and UNBLOCK so that possible protocol errors are
748 x_uncatch_errors (display, count); 748 delivered before uncatch errors. */
749 XSync (display, False);
749 UNBLOCK_INPUT; 750 UNBLOCK_INPUT;
751 x_uncatch_errors (display, count);
750} 752}
751 753
752/* Handle a SelectionRequest event EVENT. 754/* Handle a SelectionRequest event EVENT.