summaryrefslogtreecommitdiff
path: root/src/xselect.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-11-23 10:40:17 +0000
committerRichard M. Stallman <rms@gnu.org>1993-11-23 10:40:17 +0000
commitf054bf281c5db3938d45ef5052c6a5c1b41d6ecc (patch)
tree2bde4d6e2adfa666408b0ff2039ba819abfffd97 /src/xselect.c
parentc31f7a5daaf2f5840c44137c6ae96223e6edce4d (diff)
downloademacs-f054bf281c5db3938d45ef5052c6a5c1b41d6ecc.tar.gz
(Fx_disown_selection_internal): When making the fake
event for x_handle_selection_clear, use SELECTION_EVENT_... macros.
Diffstat (limited to 'src/xselect.c')
-rw-r--r--src/xselect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xselect.c b/src/xselect.c
index 54e645ff7cf..b06b5b356fd 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -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;