Add a request id for DnD protocol data requests

Allows multiple in-flight requests. Needs implementation.
This commit is contained in:
Kovid Goyal
2026-04-09 08:12:33 +05:30
parent 70e4e9310c
commit 71fcc7e233
5 changed files with 34 additions and 19 deletions

View File

@@ -17,7 +17,7 @@ typedef enum ScrollTypes { SCROLL_LINE = -999999, SCROLL_PAGE, SCROLL_FULL } Scr
typedef struct DnDCommand {
char type;
unsigned more;
uint32_t client_id;
uint32_t client_id, request_id;
size_t payload_sz;
int32_t cell_x, cell_y, pixel_x, pixel_y;
uint32_t operation;