forked from pyrite-dev/milsko
wayland: memset device_ctx_wl to accomidate for platforms that don't have a clipboard device
This commit is contained in:
parent
64bd640529
commit
1e939ae316
1 changed files with 1 additions and 0 deletions
|
|
@ -930,6 +930,7 @@ static void wl_seat_capabilities(void* data, struct wl_seat* wl_seat,
|
||||||
MwLL self = data;
|
MwLL self = data;
|
||||||
wl_clipboard_device_context_t* device_ctx_zwp = NULL;
|
wl_clipboard_device_context_t* device_ctx_zwp = NULL;
|
||||||
wl_clipboard_device_context_t* device_ctx_wl = malloc(sizeof(wl_clipboard_device_context_t));
|
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);
|
WAYLAND_EVENT_OP_START(self);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue