Sync drag cursors with GTK4
Use the same cursors during dnd as we do in GTK 4.
This commit is contained in:
@ -36,12 +36,12 @@ static struct {
|
|||||||
const gchar *name;
|
const gchar *name;
|
||||||
GdkCursor *cursor;
|
GdkCursor *cursor;
|
||||||
} drag_cursors[] = {
|
} drag_cursors[] = {
|
||||||
{ GDK_ACTION_DEFAULT, NULL, NULL },
|
{ GDK_ACTION_DEFAULT, NULL, NULL },
|
||||||
{ GDK_ACTION_ASK, "dnd-ask", NULL },
|
{ GDK_ACTION_ASK, "dnd-ask", NULL },
|
||||||
{ GDK_ACTION_COPY, "dnd-copy", NULL },
|
{ GDK_ACTION_COPY, "copy", NULL },
|
||||||
{ GDK_ACTION_MOVE, "dnd-move", NULL },
|
{ GDK_ACTION_MOVE, "dnd-move", NULL },
|
||||||
{ GDK_ACTION_LINK, "dnd-link", NULL },
|
{ GDK_ACTION_LINK, "dnd-link", NULL },
|
||||||
{ 0, "dnd-none", NULL },
|
{ 0, "default", NULL },
|
||||||
};
|
};
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
|||||||
Reference in New Issue
Block a user