[gtk] x11: Fix dnd action handling
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] x11: Fix dnd action handling
- Date: Wed, 20 Jun 2018 22:12:30 +0000 (UTC)
commit 5c46c81067fff58c9b44c4ac4ea64cd3f6092aca
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jun 20 18:06:35 2018 -0400
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);
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]