diff options
| author | Richard M. Stallman | 1995-02-02 18:54:47 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-02-02 18:54:47 +0000 |
| commit | db3906fd07b693375a3a25aa5e96fdd222c91ef4 (patch) | |
| tree | 937b85bc051303891f7983ce97213fc007aea0b5 /src/xterm.c | |
| parent | afe1529d6faf7afafd95243cb39a128ff60cdcdc (diff) | |
| download | emacs-db3906fd07b693375a3a25aa5e96fdd222c91ef4.tar.gz emacs-db3906fd07b693375a3a25aa5e96fdd222c91ef4.zip | |
(x_unqueue_events): Arg is now a Display *.
(x_start_queuing_selection_requests): Likewise.
(x_stop_queuing_selection_requests): Likewise.
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/xterm.c b/src/xterm.c index 7a3249a4675..4a95688270b 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -3104,13 +3104,13 @@ x_queue_event (f, event) | |||
| 3104 | so that they get processed afresh. */ | 3104 | so that they get processed afresh. */ |
| 3105 | 3105 | ||
| 3106 | static void | 3106 | static void |
| 3107 | x_unqueue_events (f) | 3107 | x_unqueue_events (display) |
| 3108 | FRAME_PTR f; | 3108 | Display *display; |
| 3109 | { | 3109 | { |
| 3110 | while (queue != NULL) | 3110 | while (queue != NULL) |
| 3111 | { | 3111 | { |
| 3112 | struct selection_event_queue *queue_tmp = queue; | 3112 | struct selection_event_queue *queue_tmp = queue; |
| 3113 | XPutBackEvent (FRAME_X_DISPLAY (f), &queue_tmp->event); | 3113 | XPutBackEvent (display, &queue_tmp->event); |
| 3114 | queue = queue_tmp->next; | 3114 | queue = queue_tmp->next; |
| 3115 | free ((char *)queue_tmp); | 3115 | free ((char *)queue_tmp); |
| 3116 | } | 3116 | } |
| @@ -3119,8 +3119,8 @@ x_unqueue_events (f) | |||
| 3119 | /* Start queuing SelectionRequest events. */ | 3119 | /* Start queuing SelectionRequest events. */ |
| 3120 | 3120 | ||
| 3121 | void | 3121 | void |
| 3122 | x_start_queuing_selection_requests (f) | 3122 | x_start_queuing_selection_requests (display) |
| 3123 | FRAME_PTR f; | 3123 | Display *display; |
| 3124 | { | 3124 | { |
| 3125 | x_queue_selection_requests++; | 3125 | x_queue_selection_requests++; |
| 3126 | } | 3126 | } |
| @@ -3128,11 +3128,11 @@ x_start_queuing_selection_requests (f) | |||
| 3128 | /* Stop queuing SelectionRequest events. */ | 3128 | /* Stop queuing SelectionRequest events. */ |
| 3129 | 3129 | ||
| 3130 | void | 3130 | void |
| 3131 | x_stop_queuing_selection_requests (f) | 3131 | x_stop_queuing_selection_requests (display) |
| 3132 | FRAME_PTR f; | 3132 | Display *display; |
| 3133 | { | 3133 | { |
| 3134 | x_queue_selection_requests--; | 3134 | x_queue_selection_requests--; |
| 3135 | x_unqueue_events (f); | 3135 | x_unqueue_events (display); |
| 3136 | } | 3136 | } |
| 3137 | 3137 | ||
| 3138 | /* The main X event-reading loop - XTread_socket. */ | 3138 | /* The main X event-reading loop - XTread_socket. */ |