diff options
author | Matthias Clasen <mclasen@redhat.com> | 2018-07-04 08:32:27 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2018-07-12 13:02:42 +0200 |
commit | da22ba3b867ff2a3899ebc791a53a6b2b2e50478 (patch) | |
tree | 6f2a3bed05ba91910ae91f817a0d5f8b8b7da549 /gdk/x11 | |
parent | 7a0a92f2b6dda00b4e60184d0ffd2d0e994fad6b (diff) | |
download | gtk+-da22ba3b867ff2a3899ebc791a53a6b2b2e50478.tar.gz |
drag: Split a setter
In preparation for moving the suggested action
to the x11 backend, split the setter off.
Diffstat (limited to 'gdk/x11')
-rw-r--r-- | gdk/x11/gdkdnd-x11.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdk/x11/gdkdnd-x11.c b/gdk/x11/gdkdnd-x11.c index b45542ff4a..e6b410efa0 100644 --- a/gdk/x11/gdkdnd-x11.c +++ b/gdk/x11/gdkdnd-x11.c @@ -1477,7 +1477,8 @@ gdk_x11_drag_drag_motion (GdkDrag *drag, if (drag_x11->drag_surface) move_drag_surface (drag, x_root, y_root); - gdk_drag_set_actions (drag, possible_actions, suggested_action); + gdk_drag_set_actions (drag, possible_actions); + gdk_drag_set_suggested_action (drag, suggested_action); if (protocol == GDK_DRAG_PROTO_XDND && drag_x11->version == 0) { |