summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-06-20 18:06:35 -0400
committerMatthias Clasen <mclasen@redhat.com>2018-06-20 18:10:50 -0400
commit5c46c81067fff58c9b44c4ac4ea64cd3f6092aca (patch)
tree901029d7fba4159dd8f09559ea542aa6b30bf2f0
parentc6fa3c446cc260ca6b81f2abb0b89a1650f07395 (diff)
downloadgtk+-5c46c81067fff58c9b44c4ac4ea64cd3f6092aca.tar.gz
x11: Fix dnd action handling
We were mistakenly assigning an Atom to a flags value.
-rw-r--r--gdk/x11/gdkdnd-x11.c4
1 files 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);
}
}
}