Add missing FL_RELEASE event after dnd() (#549)

On X11, FLTK would not send a required FL_RELEASE
event to the data source window.
This commit is contained in:
Matthias Melcher 2022-11-23 10:33:34 +01:00 committed by GitHub
parent d215ddef81
commit 73b24c2104
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -202,6 +202,7 @@ int Fl_X11_Screen_Driver::dnd(int unused) {
}
fl_local_grab = 0;
Fl::handle(FL_RELEASE, source_fl_win);
source_fl_win->cursor(FL_CURSOR_DEFAULT);
return 1;
}