From 44d46531541eb8b97bb005b1693975d4da5b3207 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 25 Nov 1997 13:48:10 +0000 Subject: [PATCH] (Fx_disown_selection_internal): Fix type of EVENT. --- src/xselect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xselect.c b/src/xselect.c index 7d43f07071d..caa8e6a55a2 100644 --- a/src/xselect.c +++ b/src/xselect.c @@ -1915,7 +1915,7 @@ Disowning it means there is no such selection.") { Time timestamp; Atom selection_atom; - XSelectionClearEvent event; + struct selection_input_event event; Display *display; struct x_display_info *dpyinfo; @@ -1945,7 +1945,7 @@ Disowning it means there is no such selection.") SELECTION_EVENT_DISPLAY (&event) = display; SELECTION_EVENT_SELECTION (&event) = selection_atom; SELECTION_EVENT_TIME (&event) = timestamp; - x_handle_selection_clear (&event); + x_handle_selection_clear ((struct input_event *) &event); return Qt; } -- 2.39.2