Commit 8d47f8c4 authored by Richard M. Stallman's avatar Richard M. Stallman

(Fx_disown_selection_internal): When making the fake

event for x_handle_selection_clear, use SELECTION_EVENT_... macros.
parent 60b96ee7
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment