wayland: Set correct variable
authorBenjamin Otte <otte@redhat.com>
Sat, 12 May 2018 21:43:01 +0000 (23:43 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 18 Jun 2018 21:49:19 +0000 (23:49 +0200)
This got messed up in commit 7f8a8f221d60bc5da23602e5e024eb91f8b0f758.

gdk/wayland/gdkdevice-wayland.c

index 3ccc79c5a8007e944ef18057402ba495d48a0852..0cc50c77fa33620448f66f8fabb069c3e9e074d3 100644 (file)
@@ -1180,7 +1180,7 @@ data_offer_action (void                 *data,
   if (drop_context == NULL)
     return;
 
-  drop_context->action = gdk_wayland_actions_to_gdk_actions (action);
+  drop_context->suggested_action = gdk_wayland_actions_to_gdk_actions (action);
 
   _gdk_wayland_drag_context_emit_event (drop_context, GDK_DRAG_MOTION,
                                         GDK_CURRENT_TIME);