mirror of https://github.com/fltk/fltk
Fix drag-n-drop from X11 FLTK app to Wayland app (#519)
This commit is contained in:
parent
e0c3fe939f
commit
84cdc1ba12
|
@ -85,7 +85,7 @@ int Fl_X11_Screen_Driver::dnd(int unused) {
|
|||
Window target_window = 0;
|
||||
Fl_Window* local_window = 0;
|
||||
int dndversion = 4; int dest_x, dest_y;
|
||||
XSetSelectionOwner(fl_display, fl_XdndSelection, fl_message_window, fl_event_time);
|
||||
XSetSelectionOwner(fl_display, fl_XdndSelection, source_window, fl_event_time);
|
||||
|
||||
while (Fl::pushed()) {
|
||||
// figure out what window we are pointing at:
|
||||
|
|
Loading…
Reference in New Issue