diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2025-11-28 16:49:37 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2025-11-28 16:49:37 +0100 |
| commit | 940871d5c88cd32314b350986b70758b786c7cbe (patch) | |
| tree | 63ad008255c28610f6f46f87e06aebf67ebd1127 /src/drivers | |
| parent | ee43155a4bedc6f9e2eafd2e2af00b85e92ad2be (diff) | |
Slight improvement of DnD support under Wayland
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/Wayland/fl_wayland_clipboard_dnd.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Wayland/fl_wayland_clipboard_dnd.cxx b/src/drivers/Wayland/fl_wayland_clipboard_dnd.cxx index 6fa757306..085f2d5b1 100644 --- a/src/drivers/Wayland/fl_wayland_clipboard_dnd.cxx +++ b/src/drivers/Wayland/fl_wayland_clipboard_dnd.cxx @@ -460,7 +460,7 @@ static void data_device_handle_enter(void *data, struct wl_data_device *data_dev Fl::handle(FL_DND_ENTER, fl_dnd_target_window); current_drag_offer = offer; fl_dnd_serial = serial; - } + } else fl_dnd_target_window = NULL; // we enter a non-FLTK window (titlebar, shade) uint32_t supported_actions = WL_DATA_DEVICE_MANAGER_DND_ACTION_COPY; uint32_t preferred_action = supported_actions; wl_data_offer_set_actions(offer, supported_actions, preferred_action); |
