changeset 5131:69078817ec92

(Fx_disown_selection_internal): When making the fake event for x_handle_selection_clear, use SELECTION_EVENT_... macros.
author Richard M. Stallman <rms@gnu.org>
date Tue, 23 Nov 1993 10:40:17 +0000
parents ddee29e260d2
children de089ed6966f
files src/xselect.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xselect.c	Tue Nov 23 10:38:59 1993 +0000
+++ b/src/xselect.c	Tue Nov 23 10:40:17 1993 +0000
@@ -1661,9 +1661,9 @@
      the selection owner to None.  The NCD server does, the MIT Sun4 server
      doesn't.  So we synthesize one; this means we might get two, but
      that's ok, because the second one won't have any effect.  */
-  event.display = display;
-  event.selection = selection_atom;
-  event.time = timestamp;
+  SELECTION_EVENT_DISPLAY (&event) = display;
+  SELECTION_EVENT_SELECTION (&event) = selection_atom;
+  SELECTION_EVENT_TIME (&event) = timestamp;
   x_handle_selection_clear (&event);
 
   return Qt;