# HG changeset patch # User Richard M. Stallman # Date 775268022 0 # Node ID 79494e6dc1986056e04c90541dfe5be5da423379 # Parent df850e171c616426fa053ced8a590a9d4878284f (x_get_foreign_selection): Use the new feature to queue up SelectionRequest events. diff -r df850e171c61 -r 79494e6dc198 src/xselect.c --- a/src/xselect.c Wed Jul 27 00:12:59 1994 +0000 +++ b/src/xselect.c Wed Jul 27 00:13:42 1994 +0000 @@ -1052,6 +1052,7 @@ reading_selection_window = requestor_window; reading_which_selection = selection_atom; XCONS (reading_selection_reply)->car = Qnil; + x_start_queuing_selection_requests (); UNBLOCK_INPUT; /* This allows quits. Also, don't wait forever. */ @@ -1062,6 +1063,7 @@ BLOCK_INPUT; x_check_errors ("Cannot get selection: %s"); x_uncatch_errors (); + x_stop_queuing_selection_requests (); UNBLOCK_INPUT; if (NILP (XCONS (reading_selection_reply)->car))