From 55991c396cddc8ec27182dc5cfe64fdef61da064 Mon Sep 17 00:00:00 2001 From: Fabrice Date: Tue, 10 Feb 2026 10:17:45 +0100 Subject: turning hashset into hashmap --- src/wlstate.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wlstate.cc') diff --git a/src/wlstate.cc b/src/wlstate.cc index 68846fb..da5e555 100644 --- a/src/wlstate.cc +++ b/src/wlstate.cc @@ -60,6 +60,7 @@ static struct wl_registry_listener WAYC_REGISTRY_LISTENER = { bool wayc_wlstate_init(struct wlstate_s *state) { wayc_notnull(state); + memset(state, 0, sizeof(*state)); wl_display_t display = wl_display_connect(NULL); if (display == NULL) -- cgit v1.2.3