aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-11-23 10:40:17 +0000
committerRichard M. Stallman1993-11-23 10:40:17 +0000
commit8d47f8c474bc1e41231629e275ee8c356f346c8f (patch)
treef7962b9889e0ec0344bd3fb08f5d64af1d90a0ee /src
parent60b96ee7a3b21d041b261c2b44b9c2be23b1810f (diff)
downloademacs-8d47f8c474bc1e41231629e275ee8c356f346c8f.tar.gz
emacs-8d47f8c474bc1e41231629e275ee8c356f346c8f.zip
(Fx_disown_selection_internal): When making the fake
event for x_handle_selection_clear, use SELECTION_EVENT_... macros.
Diffstat (limited to 'src')
-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.")
1661 the selection owner to None. The NCD server does, the MIT Sun4 server 1661 the selection owner to None. The NCD server does, the MIT Sun4 server
1662 doesn't. So we synthesize one; this means we might get two, but 1662 doesn't. So we synthesize one; this means we might get two, but
1663 that's ok, because the second one won't have any effect. */ 1663 that's ok, because the second one won't have any effect. */
1664 event.display = display; 1664 SELECTION_EVENT_DISPLAY (&event) = display;
1665 event.selection = selection_atom; 1665 SELECTION_EVENT_SELECTION (&event) = selection_atom;
1666 event.time = timestamp; 1666 SELECTION_EVENT_TIME (&event) = timestamp;
1667 x_handle_selection_clear (&event); 1667 x_handle_selection_clear (&event);
1668 1668
1669 return Qt; 1669 return Qt;