diff src/xselect.c @ 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 1fc792473491
children c0bd54986550
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;