summaryrefslogtreecommitdiff
path: root/src/fl_dnd_x.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2022-11-23 10:33:34 +0100
committerGitHub <noreply@github.com>2022-11-23 10:33:34 +0100
commit73b24c2104ddc6f962797635cbcc4d96556df7cd (patch)
tree5865cc9bf64fb5866a389f614ecb0fa96e3e8183 /src/fl_dnd_x.cxx
parentd215ddef811aaf7f8452d866e9c67df35f836bd2 (diff)
Add missing FL_RELEASE event after dnd() (#549)
On X11, FLTK would not send a required FL_RELEASE event to the data source window.
Diffstat (limited to 'src/fl_dnd_x.cxx')
-rw-r--r--src/fl_dnd_x.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fl_dnd_x.cxx b/src/fl_dnd_x.cxx
index 08e3c0dfc..982ed65dd 100644
--- a/src/fl_dnd_x.cxx
+++ b/src/fl_dnd_x.cxx
@@ -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;
}