mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-16 13:34:48 +02:00
Refactor the drop protocol
Get rid of request_id. Instead use the x, y, and Y fields to disambiguate requests. Specify error handling a little more robustly. Implementation needed.
This commit is contained in:
@@ -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, request_id;
|
||||
uint32_t client_id;
|
||||
size_t payload_sz;
|
||||
int32_t cell_x, cell_y, pixel_x, pixel_y;
|
||||
uint32_t operation;
|
||||
|
||||
Reference in New Issue
Block a user