diff options
author | Corey Berla <corey@berla.me> | 2022-08-25 15:40:28 -0700 |
---|---|---|
committer | Corey Berla <corey@berla.me> | 2022-08-26 16:26:20 -0700 |
commit | c8a4af951105f75eec6c5d7fe742e5eaa04df83e (patch) | |
tree | c77b135bdd674d3e2e837946cdb951f4f3c21634 | |
parent | 2a078ad3c9c6ad91367bfdcf473bcba40a4f6df7 (diff) | |
download | gtk+-c8a4af951105f75eec6c5d7fe742e5eaa04df83e.tar.gz |
gdkdrop-x11: Update gdk drop action after determining suggested actionwip/coreyberla/dnd-x11
Call gdk_x11_drop_update_action() after determining what the
suggested action is (using the preferred action from the
gtkdroptarget).
-rw-r--r-- | gdk/x11/gdkdrop-x11.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/x11/gdkdrop-x11.c b/gdk/x11/gdkdrop-x11.c index 86b794a3dd..9bf68a472f 100644 --- a/gdk/x11/gdkdrop-x11.c +++ b/gdk/x11/gdkdrop-x11.c @@ -807,6 +807,10 @@ gdk_x11_drop_status (GdkDrop *drop, gdk_x11_drop_do_nothing, display); } + + drop_x11->suggested_action = suggested_action; + drop_x11->xdnd_have_actions = FALSE; + gdk_x11_drop_update_actions (drop_x11); } static void |