From 5c46c81067fff58c9b44c4ac4ea64cd3f6092aca Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 20 Jun 2018 18:06:35 -0400 Subject: [PATCH] x11: Fix dnd action handling We were mistakenly assigning an Atom to a flags value. --- gdk/x11/gdkdnd-x11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdk/x11/gdkdnd-x11.c b/gdk/x11/gdkdnd-x11.c index 6b807812f9..f1070f7b0c 100644 --- a/gdk/x11/gdkdnd-x11.c +++ b/gdk/x11/gdkdnd-x11.c @@ -886,8 +886,8 @@ gdk_x11_drag_context_handle_status (GdkDisplay *display, if (context->action != context_x11->current_action) { - context_x11->current_action = action; - g_signal_emit_by_name (context, "action-changed", action); + context_x11->current_action = context->action; + g_signal_emit_by_name (context, "action-changed", context->action); } } }