# HG changeset patch # User Richard M. Stallman # Date 754051217 0 # Node ID 69078817ec922f59e035f45ae54186e869f37ae9 # Parent ddee29e260d26877513f1043f8e6e3467e3e1a5d (Fx_disown_selection_internal): When making the fake event for x_handle_selection_clear, use SELECTION_EVENT_... macros. diff -r ddee29e260d2 -r 69078817ec92 src/xselect.c --- a/src/xselect.c Tue Nov 23 10:38:59 1993 +0000 +++ b/src/xselect.c Tue Nov 23 10:40:17 1993 +0000 @@ -1661,9 +1661,9 @@ 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;