aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xselect.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xselect.c b/src/xselect.c
index d3b4b6436f5..4c7c7a7f862 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -644,6 +644,12 @@ x_reply_selection_request (event, format, data, size, type)
644 PropModeReplace, data, 0); 644 PropModeReplace, data, 0);
645 } 645 }
646 646
647 /* The window we're communicating with may have been deleted
648 in the meantime (that's a real situation from a bug report).
649 In this case, there may be events in the event queue still
650 refering to the deleted window, and we'll get a BadWindow error
651 in XTread_socket when processing the events. I don't have
652 an idea how to fix that. gerd, 2001-01-98. */
647 XFlush (display); 653 XFlush (display);
648 x_uncatch_errors (display, count); 654 x_uncatch_errors (display, count);
649 UNBLOCK_INPUT; 655 UNBLOCK_INPUT;