Mercurial > emacs
changeset 8355:79494e6dc198
(x_get_foreign_selection): Use the new feature
to queue up SelectionRequest events.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 27 Jul 1994 00:13:42 +0000 |
parents | df850e171c61 |
children | bdf40e36b6a9 |
files | src/xselect.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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))