# HG changeset patch # User Gerd Moellmann # Date 979129426 0 # Node ID b317937fe5f82dc050653142f6863eec8d3e637f # Parent b4a8fdcf76cf14b163d36e78c5f953b0c82dba5b (x_reply_selection_request): Add a comment. diff -r b4a8fdcf76cf -r b317937fe5f8 src/xselect.c --- a/src/xselect.c Wed Jan 10 12:19:28 2001 +0000 +++ b/src/xselect.c Wed Jan 10 12:23:46 2001 +0000 @@ -644,6 +644,12 @@ 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;