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:
parent
d215ddef81
commit
73b24c2104
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user