wayland: memset device_ctx_wl to accomidate for platforms that don't have a clipboard device
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
IoIxD 2026-04-26 13:10:45 -07:00
commit 1e939ae316

View file

@ -930,6 +930,7 @@ static void wl_seat_capabilities(void* data, struct wl_seat* wl_seat,
MwLL self = data;
wl_clipboard_device_context_t* device_ctx_zwp = NULL;
wl_clipboard_device_context_t* device_ctx_wl = malloc(sizeof(wl_clipboard_device_context_t));
memset(device_ctx_wl, 0, sizeof(wl_clipboard_device_context_t));
WAYLAND_EVENT_OP_START(self);