mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-08 04:30:45 -08:00
* xselect.c (x_reply_selection_request): XSync and UNBLOCK before
x_uncatch_errors so that possible protocol errors are delivered.
This commit is contained in:
parent
b106731c46
commit
844fc08505
2 changed files with 9 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2004-09-10 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
|
||||
|
||||
* xselect.c (x_reply_selection_request): XSync and UNBLOCK before
|
||||
x_uncatch_errors so that possible protocol errors are delivered.
|
||||
|
||||
2004-09-10 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* msdos.c (msdos_set_cursor_shape): Add debugging print-out to
|
||||
|
|
|
|||
|
|
@ -744,9 +744,11 @@ x_reply_selection_request (event, format, data, size, type)
|
|||
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);
|
||||
/* 2004-09-10: XSync and UNBLOCK so that possible protocol errors are
|
||||
delivered before uncatch errors. */
|
||||
XSync (display, False);
|
||||
UNBLOCK_INPUT;
|
||||
x_uncatch_errors (display, count);
|
||||
}
|
||||
|
||||
/* Handle a SelectionRequest event EVENT.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue