diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-01-10 12:23:46 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-01-10 12:23:46 +0000 |
commit | 47a6ac17a1f30aabaab017b91d30ac06f58e6bdd (patch) | |
tree | 9b121ceb2e673246cb7b426ecc7afcadc819064d /src/xselect.c | |
parent | c1efd2604658656e6289fd31f3d8a9866ba6cd80 (diff) | |
download | emacs-47a6ac17a1f30aabaab017b91d30ac06f58e6bdd.tar.gz |
(x_reply_selection_request): Add a comment.
Diffstat (limited to 'src/xselect.c')
-rw-r--r-- | src/xselect.c | 6 |
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) PropModeReplace, data, 0); } + /* The window we're communicating with may have been deleted + in the meantime (that's a real situation from a bug report). + In this case, there may be events in the event queue still + refering to the deleted window, and we'll get a BadWindow error + in XTread_socket when processing the events. I don't have + an idea how to fix that. gerd, 2001-01-98. */ XFlush (display); x_uncatch_errors (display, count); UNBLOCK_INPUT; |