quartz dnd: fix drag icon position relative to cursor position

The y axis is reversed on osx
This commit is contained in:
Christoph Reiter 2015-07-24 13:57:35 +02:00 committed by Christoph Reiter
parent 2c329f5b3a
commit 5003b5873a

View File

@ -1170,7 +1170,7 @@ gtk_drag_begin_idle (gpointer arg)
}
point.x -= info->hot_x;
point.y -= info->hot_y;
point.y -= [drag_image size].height - info->hot_y;
[nswindow dragImage:drag_image
at:point