diff --git a/src/Fl_mac.cxx b/src/Fl_mac.cxx index 315fc6617..920fa588d 100644 --- a/src/Fl_mac.cxx +++ b/src/Fl_mac.cxx @@ -1590,7 +1590,7 @@ static pascal OSErr dndReceiveHandler( WindowPtr w, void *userData, DragReferenc Fl::e_text = currDragData; // printf("Sending following text to widget %p:\n%s\n", Fl::belowmouse(), Fl::e_text); int old_event = Fl::e_number; - target->handle(Fl::e_number = FL_PASTE); + Fl::belowmouse()->handle(Fl::e_number = FL_PASTE); Fl::e_number = old_event; if (currDragData) {