diff src/xselect.c @ 83196:22658e29bd48

Merged in changes from CVS trunk. Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-501 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-502 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-503 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-504 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-505 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-236
author Karoly Lorentey <lorentey@elte.hu>
date Mon, 23 Aug 2004 10:12:04 +0000
parents dbcd0af66869 e6e0caa7ec87
children 6d9b668e8f94
line wrap: on
line diff
--- a/src/xselect.c	Mon Aug 23 08:50:01 2004 +0000
+++ b/src/xselect.c	Mon Aug 23 10:12:04 2004 +0000
@@ -1117,7 +1117,8 @@
       secs = x_selection_timeout / 1000;
       usecs = (x_selection_timeout % 1000) * 1000;
       TRACE2 ("  Waiting %d secs, %d usecs", secs, usecs);
-      wait_reading_process_input (secs, usecs, property_change_reply, 0);
+      wait_reading_process_output (secs, usecs, 0, 0,
+				   property_change_reply, NULL, 0);
 
       if (NILP (XCAR (property_change_reply)))
 	{
@@ -1305,7 +1306,8 @@
   secs = x_selection_timeout / 1000;
   usecs = (x_selection_timeout % 1000) * 1000;
   TRACE1 ("  Start waiting %d secs for SelectionNotify", secs);
-  wait_reading_process_input (secs, usecs, reading_selection_reply, 0);
+  wait_reading_process_output (secs, usecs, 0, 0,
+			       reading_selection_reply, NULL, 0);
   TRACE1 ("  Got event = %d", !NILP (XCAR (reading_selection_reply)));
 
   BLOCK_INPUT;