(XTread_socket): Revert last change.

This commit is contained in:
Chong Yidong 2007-05-13 13:37:11 +00:00
parent 37f3a4bb9c
commit c36b6e0aa0

View file

@ -7065,7 +7065,6 @@ XTread_socket (sd, expected, hold_quit)
#endif
#ifndef USE_GTK
x_catch_errors (dpyinfo->display);
while (XPending (dpyinfo->display))
{
int finish;
@ -7084,7 +7083,6 @@ XTread_socket (sd, expected, hold_quit)
if (finish == X_EVENT_GOTO_OUT)
goto out;
}
x_uncatch_errors ();
#endif /* not USE_GTK */
}