744 |
refering to the deleted window, and we'll get a BadWindow error |
refering to the deleted window, and we'll get a BadWindow error |
745 |
in XTread_socket when processing the events. I don't have |
in XTread_socket when processing the events. I don't have |
746 |
an idea how to fix that. gerd, 2001-01-98. */ |
an idea how to fix that. gerd, 2001-01-98. */ |
747 |
XFlush (display); |
/* 2004-09-10: XSync and UNBLOCK so that possible protocol errors are |
748 |
|
delivered before uncatch errors. */ |
749 |
|
XSync (display, False); |
750 |
|
UNBLOCK_INPUT; |
751 |
|
|
752 |
|
/* GTK queues events in addition to the queue in Xlib. So we |
753 |
|
UNBLOCK to enter the event loop and get possible errors delivered, |
754 |
|
and then BLOCK again because x_uncatch_errors requires it. */ |
755 |
|
BLOCK_INPUT; |
756 |
x_uncatch_errors (display, count); |
x_uncatch_errors (display, count); |
757 |
UNBLOCK_INPUT; |
UNBLOCK_INPUT; |
758 |
} |
} |