Remove unused function

This commit is contained in:
Kovid Goyal 2026-04-09 21:40:29 +05:30
parent 1e714d2c31
commit 9196cc51dd
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
2 changed files with 0 additions and 8 deletions

View file

@ -456,13 +456,6 @@ do_drop_request_data(Window *w, int32_t idx) {
return false; /* async: completion via drop_dispatch_data */
}
void
drop_request_data(Window *w, const char *mime) {
/* This function is no longer used in the new protocol; MIME data requests
* are now handled through the unified t=r queue via do_drop_request_data. */
(void)w; (void)mime;
}
void
drop_dispatch_data(Window *w, const char *mime, const char *data, ssize_t sz) {
if (sz < 0) {

View file

@ -13,7 +13,6 @@ void drop_register_window(Window *w, const uint8_t *payload, size_t payload_sz,
void drop_move_on_child(Window *w, const char **mimes, size_t num_mimes, bool is_drop);
void drop_left_child(Window *w);
void drop_free_data(Window *w);
void drop_request_data(Window *w, const char *mime);
void drop_send_einval(Window *w);
void drop_request_uri_data(Window *w, const char *payload, size_t payload_sz);
void drop_handle_dir_request(Window *w, uint32_t handle_id, int32_t entry_num);