Fix self drag not working under Wayland

Fixes #9483
This commit is contained in:
copilot-swe-agent[bot]
2026-02-07 08:32:05 +00:00
committed by Kovid Goyal
parent 3839dcc082
commit 7ca6fd66f8
11 changed files with 421 additions and 45 deletions

4
glfw/x11_platform.h vendored
View File

@@ -400,7 +400,9 @@ typedef struct _GLFWlibraryX11
Atom action_atom; // XdndActionCopy, XdndActionMove, or XdndActionLink
bool active;
_GLFWwindow* window; // Window that initiated the drag
GLFWDragSourceData* current_request; // Current data request being processed
GLFWDragSourceData** pending_requests; // Array of pending data requests
int pending_request_count; // Number of pending requests
int pending_request_capacity; // Capacity of the pending requests array
} drag;
struct {