changeset 10634:de7beeb9f02c

(x_unqueue_events): Arg is now a Display *. (x_start_queuing_selection_requests): Likewise. (x_stop_queuing_selection_requests): Likewise.
author Richard M. Stallman <rms@gnu.org>
date Thu, 02 Feb 1995 18:54:47 +0000
parents 70ee88d09615
children c807d6c947de
files src/xterm.c
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Thu Feb 02 18:49:38 1995 +0000
+++ b/src/xterm.c	Thu Feb 02 18:54:47 1995 +0000
@@ -3104,13 +3104,13 @@
    so that they get processed afresh.  */
 
 static void
-x_unqueue_events (f)
-     FRAME_PTR f;
+x_unqueue_events (display)
+     Display *display;
 {
   while (queue != NULL)
     {
       struct selection_event_queue *queue_tmp = queue;
-      XPutBackEvent (FRAME_X_DISPLAY (f), &queue_tmp->event);
+      XPutBackEvent (display, &queue_tmp->event);
       queue = queue_tmp->next;
       free ((char *)queue_tmp);
     }
@@ -3119,8 +3119,8 @@
 /* Start queuing SelectionRequest events.  */
 
 void
-x_start_queuing_selection_requests (f)
-     FRAME_PTR f;
+x_start_queuing_selection_requests (display)
+     Display *display;
 {
   x_queue_selection_requests++;
 }
@@ -3128,11 +3128,11 @@
 /* Stop queuing SelectionRequest events.  */
 
 void
-x_stop_queuing_selection_requests (f)
-     FRAME_PTR f;
+x_stop_queuing_selection_requests (display)
+     Display *display;
 {
   x_queue_selection_requests--;
-  x_unqueue_events (f);
+  x_unqueue_events (display);
 }
 
 /* The main X event-reading loop - XTread_socket.  */