]> code.delx.au - gnu-emacs/blobdiff - src/xselect.c
(message): Use message2, not message1.
[gnu-emacs] / src / xselect.c
index 7b6a1164e3ce0ccf6b67acdbf246dc34d0a10dea..b06b5b356fd2c48c8596ef5c350eec1fa56eca8a 100644 (file)
@@ -23,7 +23,7 @@ x_reply_selection_request  */
 
 /* Rewritten by jwz */
 
-#include "config.h"
+#include <config.h>
 #include "lisp.h"
 #if 0
 #include <stdio.h>     /* termhooks.h needs this */
@@ -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;