]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fx_disown_selection_internal): When making the fake
authorRichard M. Stallman <rms@gnu.org>
Tue, 23 Nov 1993 10:40:17 +0000 (10:40 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 23 Nov 1993 10:40:17 +0000 (10:40 +0000)
event for x_handle_selection_clear, use SELECTION_EVENT_... macros.

src/xselect.c

index 54e645ff7cfb9664c04668517fcc1a186959e526..b06b5b356fd2c48c8596ef5c350eec1fa56eca8a 100644 (file)
@@ -1661,9 +1661,9 @@ Disowning it means there is no such selection.")
      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;