aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dragon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dragon.c b/dragon.c
index afbc79e..062cbd6 100644
--- a/dragon.c
+++ b/dragon.c
@@ -144,8 +144,9 @@ GtkButton *add_button(char *label, struct draggable_thing *dragdata, int type) {
gtk_target_list_add_uri_targets(targetlist, TARGET_TYPE_URI);
else
gtk_target_list_add_text_targets(targetlist, TARGET_TYPE_TEXT);
+
gtk_drag_source_set(GTK_WIDGET(button), GDK_BUTTON1_MASK, NULL, 0,
- GDK_ACTION_DEFAULT | GDK_ACTION_LINK | GDK_ACTION_COPY);
+ GDK_ACTION_COPY | GDK_ACTION_LINK | GDK_ACTION_ASK);
gtk_drag_source_set_target_list(GTK_WIDGET(button), targetlist);
g_signal_connect(GTK_WIDGET(button), "drag-data-get",
G_CALLBACK(drag_data_get), dragdata);
bgstack15