1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00

Must BLOCK/UNBLOCK around x_uncatch_errors.

This commit is contained in:
Jan Djärv 2004-09-10 18:56:29 +00:00
parent 21065c92fa
commit 0608b1a02e

View File

@ -748,7 +748,13 @@ x_reply_selection_request (event, format, data, size, type)
delivered before uncatch errors. */
XSync (display, False);
UNBLOCK_INPUT;
/* GTK queues events in addition to the queue in Xlib. So we
UNBLOCK to enter the event loop and get possible errors delivered,
and then BLOCK again because x_uncatch_errors requires it. */
BLOCK_INPUT;
x_uncatch_errors (display, count);
UNBLOCK_INPUT;
}
/* Handle a SelectionRequest event EVENT.