struct EE::Window::DragOffer

Overview

#include <draganddrop.hpp>

struct DragOffer {
    // fields

    SmallVector<DragFile, 1> files;
    DragActions actions { static_cast<DragActions>(DragAction::Copy) };
    DragPreview preview;
    bool sourceHandlesDrops { false };
};

Detailed Documentation

Fields

bool sourceHandlesDrops { false }

The application completes drops on its own window (DragResult::releasedOverSource on X11): the preview shows a pending drop there instead of a rejected one.